config

package
v0.0.0-...-3b91bc7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 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 {
	RedisUrl string `mapstructure:"redis_url" yaml:"redis_url" json:"redis_url,omitempty"`
	MySqlUrl string `mapstructure:"my_sql_url" yaml:"my_sql_url" json:"my_sql_url,omitempty"`
	Env      string `mapstructure:"env" yaml:"env" json:"env,omitempty"`
}

func Init

func Init() (*Config, error)

func (*Config) InitLog

func (c *Config) InitLog() logr.Logger

Jump to

Keyboard shortcuts

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