Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rig ¶
type Rig interface { // root http server handler RootHandler() http.HandlerFunc // unique Unique() string // http NewClient() *app.Client // log Log() log.Log // users Ali() User Bob() User Cat() User Dan() User // services Cache() iredis.Pool User() isql.ReplicaSet Pwd() isql.ReplicaSet Data() isql.ReplicaSet Email() email.Client Store() store.Client // cleanup CleanUp() }
func NewRig ¶
func NewRig( config *config.Config, eps []*app.Endpoint, useUsers bool, onActivate func(app.Tlbx, *user.User), onDelete func(app.Tlbx, ID), onSetSocials func(app.Tlbx, *user.User) error, validateFcmTopic func(app.Tlbx, IDs) (sql.Tx, error), enableJin bool, rateLimitMware func(iredis.Pool, ...int) func(app.Tlbx), buckets ...string, ) Rig
Click to show internal directories.
Click to hide internal directories.