configs

package
v0.0.0-...-e77dc18 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 0 Imported by: 0

README

/configs

Configuration file templates or default configs.

Put your confd or consule-template template files here.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configs

type Configs struct {
	Port            string `env:"PORT" envDefault:"8080"`
	PortDebug       string `env:"PORT_DEBUG" envDefault:"8888"`
	PortGrpc        string `env:"PORT_GRPC" envDefault:"8842"`
	PortGrpcGateway string `env:"PORT_GRPC_GATEWAY" envDefault:"8843"`
}

Configs ...

type GoogleAuthConfigs

type GoogleAuthConfigs struct {
	GoogleKey          string `env:"GOOGLE_KEY,notEmpty" envDefault:"328290909614-jar104iq8508k7n2lhrj453up6oieo4j.apps.googleusercontent.com"`
	GoogleSecret       string `env:"GOOGLE_SECRET,notEmpty" envDefault:"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"`
	GoogleAuthCallback string `env:"GOOGLE_AUTH_CALLBACK,notEmpty" envDefault:"http://localhost:8080/auth/google/callback"`
}

GoogleAuthConfigs ...

type S3Configs

type S3Configs struct {
	Region    string `env:"S3_REGION,notEmpty"`
	Host      string `env:"S3_HOST",notEmpty`
	AccessKey string `env:"S3_ACCESS_KEY,notEmpty"`
	SecretKey string `env:"S3_SECRET_KEY,notEmpty"`
}

Jump to

Keyboard shortcuts

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