Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServe ¶
func StartServe(opts ServeOptions, httpServer HTTPServerInterface) error
Types ¶
type HTTPServer ¶
type HTTPServer struct{}
func (*HTTPServer) Run ¶
func (h *HTTPServer) Run(conf supporthttp.Config)
type HTTPServerInterface ¶
type HTTPServerInterface interface {
Run(conf supporthttp.Config)
}
type ServeOptions ¶
type ServeOptions struct { AdminDBConnectionPool db.DBConnectionPool CrashTrackerClient crashtracker.CrashTrackerClient EmailMessengerClient message.MessengerClient Environment string GitCommit string Models *data.Models MTNDBConnectionPool db.DBConnectionPool NetworkPassphrase string Port int SubmitterEngine engine.SubmitterEngine DistributionAccountService coreSvc.DistributionAccountServiceInterface TenantAccountNativeAssetBootstrapAmount int Version string AdminAccount string AdminApiKey string SingleTenantMode bool BaseURL string SDPUIBaseURL string // contains filtered or unexported fields }
func (*ServeOptions) SetupDependencies ¶
func (opts *ServeOptions) SetupDependencies() error
SetupDependencies uses the serve options to setup the dependencies for the server.
Click to show internal directories.
Click to hide internal directories.