config

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

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 2 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 {
	Account     string `mapstructure:"account"`
	Sandbox     bool   `mapstructure:"sandbox"`
	AccessToken string `mapstructure:"access-token"`
	BaseURL     string `mapstructure:"base-url"`
}

func Init

func Init(validate bool) (*Config, error)

func InitWithValidation

func InitWithValidation() (*Config, error)

InitWithValidation

Jump to

Keyboard shortcuts

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