Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct { Addr string Router *BaseRouter.Router Son bool Registry bool RegistryAddr string }
InsideServerBaseConfig 内嵌服务器基础配置结构
type InsideServer ¶
type InsideServer struct { Addr string Req *http.Request RespWriter http.ResponseWriter Router *BaseRouter.Router SessionOn bool RegistryOn bool RegistryAddr string }
InsideServer 内嵌服务器结构体
func (*InsideServer) Config ¶
func (is *InsideServer) Config(config BaseConfig)
InsideServer.Config 内嵌服务器配置
func (*InsideServer) ServeHTTP ¶
func (is *InsideServer) ServeHTTP(responseWriter http.ResponseWriter, r *http.Request)
InsideServer.ServeHTTP 默认路由
Click to show internal directories.
Click to hide internal directories.