config

package
v0.0.0-...-b2b7553 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: MIT Imports: 4 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 {
	Server struct {
		Host string `env:"HOST"`
		Port int    `env:"HTTP_PORT"`
	}
	Clickup struct {
		Url     string `env:"CLICKUP_URL"`
		SpaceId string `env:"CLICKUP_SPACE_ID"`
		ListId  string `env:"CLICKUP_LIST_ID"`
		Token   string `env:"CLICKUP_ACCESS_TOKEN"`
	}
	Minio struct {
		Url        string `env:"MINIO_URL"`
		AccessKey  string `env:"MINIO_ACCESS_KEY"`
		SecretKey  string `env:"MINIO_SECRET_KEY"`
		UseSSL     bool   `env:"MINIO_USE_SSL"`
		BucketName string `env:"MINIO_BUCKET_NAME"`
	}
}

Config model

func Get

func Get() *Config

Get - Config initializer

Jump to

Keyboard shortcuts

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