common

package
v1.0.4-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inject

type Inject struct {
	Values *Values
	Log    *zap.Logger
	Nats   *nats.Conn
	Js     nats.JetStreamContext
}

type LogSystem added in v1.1.0

type LogSystem struct {
	Type   string                 `yaml:"type"`
	Option map[string]interface{} `yaml:"option"`
}

type Nats

type Nats struct {
	Hosts []string `yaml:"hosts"`
	Nkey  string   `yaml:"nkey"`
}

type Values

type Values struct {
	Namespace string    `yaml:"namespace"`
	Debug     bool      `yaml:"debug"`
	Nats      Nats      `yaml:"nats"`
	LogSystem LogSystem `yaml:"log_system"`
}

Jump to

Keyboard shortcuts

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