Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrestServer ¶
type GrestServer struct {
// contains filtered or unexported fields
}
func NewGrestServer ¶
func NewGrestServer(confName string) *GrestServer
func (*GrestServer) AddController ¶
func (s *GrestServer) AddController(name string, ctlType reflect.Type)
func (*GrestServer) Serve ¶
func (s *GrestServer) Serve()
func (*GrestServer) ServeHTTPDispatch ¶
func (s *GrestServer) ServeHTTPDispatch(w http.ResponseWriter, r *http.Request)
http 请求入口, 根据类型派发到ws和http.
Directories
¶
Path | Synopsis |
---|---|
---------------------------------------------- this go file is generated by staticZip.
|
---------------------------------------------- this go file is generated by staticZip. |
Click to show internal directories.
Click to hide internal directories.