Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API ...
func NewAPI ¶
func NewAPI(conn *gorm.DB, pubsubClient *pubsub.Client, config *conf.Configuration, redis *redis.Client) *API
NewAPI mounts all routes
func (*API) ListenAndServe ¶
func (a *API) ListenAndServe()
ListenAndServe starts the API It has graceful shutdown
Click to show internal directories.
Click to hide internal directories.