Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewHTTPServer)
ProviderSet is server providers.
Functions ¶
func EncoderResponse ¶
func EncoderResponse() http.EncodeResponseFunc
func NewGRPCServer ¶
NewGRPCServer new a gRPC server.
func NewHTTPServer ¶
func NewHTTPServer( c *conf.Server, s *conf.Auth, casbinRepo biz.CasbinRuleRepo, logger log.Logger, sysUserService *service.SysuserService, apiService *service.ApiService, deptService *service.DeptService, menusService *service.MenusService, postService *service.PostService, dictTypeService *service.DictTypeService, dictDataService *service.DictDataService, roleService *service.RolesService, ) *http.Server
NewHTTPServer new an HTTP server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.