bootstrap

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func LoadStaticValues added in v1.5.0

func LoadStaticValues() (values *common.Values, err error)

func NewApp added in v1.3.0

func NewApp() (*app.App, error)

func UseDatabase added in v1.5.0

func UseDatabase(values *common.Values, client *mongo.Client) (db *mongo.Database)

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)

func UseMongoDB added in v1.5.0

func UseMongoDB(values *common.Values) (*mongo.Client, error)

func UseNats

func UseNats(values *common.Values) (nc *nats.Conn, err error)

func UseZap

func UseZap() (log *zap.Logger, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL