Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppServer ¶
type AppServer struct { Db *database.DB Config foundation.ConfigStore Logger foundation.Logger ServiceName string }
AppServer contains all app level common dependencies
func NewAppServer ¶
func NewAppServer(serviceName string, db *database.DB, config foundation.ConfigStore, logger foundation.Logger) *AppServer
NewAppServer instance
type Router ¶
Router dedicated type to reduce code refactor for router swap
func (*Router) MakeAppRouter ¶
MakeAppRouter Generates a subrouter for application specific endpoints
Click to show internal directories.
Click to hide internal directories.