Documentation ¶
Overview ¶
Package server is for all the SPV Wallet settings and HTTP server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupServerRoutes ¶ added in v0.16.0
func SetupServerRoutes(appConfig *config.AppConfig, services *config.AppServices, engine *gin.Engine)
SetupServerRoutes will register endpoints for all models
Types ¶
type Server ¶
type Server struct { AppConfig *config.AppConfig Router *gin.Engine Services *config.AppServices WebServer *http.Server }
Server is the configuration, services, and actual web server
type WriterFunc ¶ added in v0.16.0
WriterFunc wrapper type for function that is implementing io.Writer interface.
Click to show internal directories.
Click to hide internal directories.