config

package
v0.0.0-...-398e551 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT 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 {
	ServerConfig `yaml:"grpc-gateway"`
}

func InitConfigs

func InitConfigs() *Config

type ServerConfig

type ServerConfig struct {
	Addr string `yaml:"addr"`
	Port int    `yaml:"port"`

	Auth    string `yaml:"addr-auth"`
	Product string `yaml:"addr-product"`
	Order   string `yaml:"addr-order"`
}

Jump to

Keyboard shortcuts

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