Documentation ¶
Overview ¶
Package server provides a (HTTP) server runtime for paymentd
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Wait sync.WaitGroup
Wait is a global WaitGroup for the Server(s). During Shutdown() of the server(s) the final close will wait for the waitgroup to be resolved or for a set timeout.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Cancel context.CancelFunc // contains filtered or unexported fields }
Server is a paymentd server
func (*Server) RegisterService ¶
RegisterService adds a service to the server It will serve the HTTP with the given service
Click to show internal directories.
Click to hide internal directories.