config

package
v0.0.0-...-b891ec6 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Code          codeimpl.Config        `json:"code"`
	Kafka         kafka.Config           `json:"kafka"`
	MessageServer messageserver.Config   `json:"message_server"`
	OmApi         useradapterimpl.Config `json:"om_api"`
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

func (*Config) SetDefault

func (cfg *Config) SetDefault()

func (*Config) Validate

func (cfg *Config) Validate() error

Jump to

Keyboard shortcuts

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