Help us shape the future of Go! Take the 2026 Go Developer Survey

bootstrap

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func UseJetStream added in v1.0.5

func UseJetStream(nc *nats.Conn) (nats.JetStreamContext, error)

UseJetStream 初始化 Nats JetStream

func UseNats added in v1.0.5

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

UseNats 初始化 Nats

func UseStore added in v1.0.5

func UseStore(values *common.Values, js nats.JetStreamContext) (nats.ObjectStore, error)

UseStore 初始化配置存储

func UseZap

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

UseZap 初始化日志

Types

This section is empty.

Jump to

Keyboard shortcuts

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