Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSetServer = wire.NewSet(NewHTTPServer)
ProviderSetServer is providers.
Functions ¶
func FormatLinkNofollow ¶ added in v1.0.8
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.