Documentation ¶
Index ¶
- Variables
- func LoadStaticValues() (values *common.Values, err error)
- func NewApp() (*app.App, error)
- func UseDatabase(values *common.Values, client *mongo.Client) (db *mongo.Database)
- func UseJetStream(nc *nats.Conn) (nats.JetStreamContext, error)
- func UseKeyValue(js nats.JetStreamContext) (nats.KeyValue, error)
- func UseMongoDB(values *common.Values) (*mongo.Client, error)
- func UseNats(values *common.Values) (nc *nats.Conn, err error)
- func UseZap() (log *zap.Logger, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Provides = wire.NewSet( LoadStaticValues, UseZap, UseMongoDB, UseDatabase, UseNats, UseJetStream, UseKeyValue, )
Functions ¶
func LoadStaticValues ¶ added in v1.5.0
func UseDatabase ¶ added in v1.5.0
func UseJetStream ¶
func UseJetStream(nc *nats.Conn) (nats.JetStreamContext, error)
func UseKeyValue ¶ added in v1.5.0
func UseKeyValue(js nats.JetStreamContext) (nats.KeyValue, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.