Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorSystem ¶
ActorSystem represents actor system subroutine
func NewActorSystem ¶
func NewActorSystem(ctx context.Context, cfg config.Configuration) ActorSystem
NewActorSystem returns actor system fascade
type Server ¶
type Server struct { Support // contains filtered or unexported fields }
Server is a fascade for http-server following handler api of Gin and lifecycle api of http
func NewServer ¶
func NewServer(ctx context.Context, cfg config.Configuration, system *ActorSystem) Server
NewServer returns new secure server instance
func (Server) HandleFunc ¶
func (server Server) HandleFunc(path string, handle func(w http.ResponseWriter, r *http.Request), methods ...string) *mux.Route
HandleFunc registerer route
type Support ¶
type Support struct { IsReady chan interface{} // contains filtered or unexported fields }
Support provides support for graceful shutdown
func NewDaemonSupport ¶
NewDaemonSupport constructor
Click to show internal directories.
Click to hide internal directories.