Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMiddleware ¶
RegisterMiddleware registers all Stork middleware.
Types ¶
type StorkServer ¶
type StorkServer struct { Engine *gin.Engine Session *mgo.Session Config *config.StorkConfig }
StorkServer servers the Stork service.
func NewServer ¶
func NewServer(config *config.StorkConfig) *StorkServer
NewServer returns a new StorkServer with the specified StorkConfig.
Click to show internal directories.
Click to hide internal directories.