Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetServer = wire.NewSet(NewHTTPServer)
ProviderSetServer is providers.
Functions ¶
func FormatLinkNofollow ¶
func NewHTTPServer ¶
func NewHTTPServer(debug bool, staticRouter *router.StaticRouter, answerRouter *router.AnswerAPIRouter, swaggerRouter *router.SwaggerRouter, viewRouter *router.UIRouter, authUserMiddleware *middleware.AuthUserMiddleware, avatarMiddleware *middleware.AvatarMiddleware, shortIDMiddleware *middleware.ShortIDMiddleware, templateRouter *router.TemplateRouter, pluginAPIRouter *router.PluginAPIRouter, ) *gin.Engine
NewHTTPServer new http server.
Types ¶
Click to show internal directories.
Click to hide internal directories.