config

package
v0.0.0-...-4af97ca Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitENV

func InitENV(filename string) error

Types

type Config

type Config struct {
	Server struct {
		Network string

		GRPC struct {
			Port string
		}

		Gateway struct {
			Host string
			Port string
		}
	}

	Redis redis.ClientConfig
}

func New

func New(directory, filename string) (*Config, error)

Jump to

Keyboard shortcuts

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