Documentation ¶
Index ¶
- func DebugParty() module.WebModule
- func Start()
- type WebServer
- func (webServer *WebServer) AddModule(module ...module.WebModule)
- func (webServer *WebServer) AddSwagger()
- func (webServer *WebServer) AddTest()
- func (webServer *WebServer) AddUpload()
- func (webServer *WebServer) AddWebUi()
- func (webServer *WebServer) GetAddr() string
- func (webServer *WebServer) GetModules() []module.WebModule
- func (webServer *WebServer) GetSources() []map[string]string
- func (webServer *WebServer) GetTestAuth(t *testing.T) *tests.Client
- func (webServer *WebServer) InitRouter() error
- func (webServer *WebServer) InjectModule()
- func (webServer *WebServer) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
WebServer 服务器
func (*WebServer) AddSwagger ¶
func (webServer *WebServer) AddSwagger()
func (*WebServer) GetModules ¶
GetModules 获取模块
func (*WebServer) GetSources ¶
GetSources 获取web服务需要认证的权限
func (*WebServer) GetTestAuth ¶
GetTestAuth 获取测试验证客户端
Click to show internal directories.
Click to hide internal directories.