config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAuthConfig

func WriteAuthConfig(cfg *AuthConfig) error

Types

type AuthConfig

type AuthConfig struct {
	Token string `json:"token"`
	Email string `json:"email"`
}

func ReadAuthConfig

func ReadAuthConfig() (*AuthConfig, error)

type Config

type Config struct {
	App      string `mapstructure:"app" json:"app"`
	Port     string `mapstructure:"port" json:"port"`
	Platform string `mapstructure:"platform" json:"platform"`
}

Jump to

Keyboard shortcuts

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