Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerGraphSet = wire.NewSet( configs.ConfigGraphSet, http_handler.HttpHandlerGraphSet, services.ServiceGraphSet, provider.MysqlGraphSet, NewHttpServer, )
View Source
var SuperGraphSet = wire.NewSet( ServerGraphSet, )
Functions ¶
func BuildMetricServer ¶
func BuildMetricServer() (*instrumentation.MetricServer, error)
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func BuildServer ¶
func BuildServer() (*HttpServer, error)
func NewHttpServer ¶
func NewHttpServer( configs *configs.ServerConfiguration, userHandler *http_handler.UserHandler, matchingHandler *http_handler.MatchingHandler, feedHandler *http_handler.FeedHandler, authHandler *http_handler.AuthHandler, albumHandler *http_handler.AlbumHandler, walletHandler *http_handler.WalletHandler, ) (*HttpServer, error)
Click to show internal directories.
Click to hide internal directories.