config

package
v0.0.0-...-02fb5a9 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAuthenticationServiceBaseURL = "http://localhost:1502/api/v1/authentication/"
	DefaultDataServiceBaseURL           = "http://localhost:1502/api/v1/data/"
	DefaultMetaDataServiceBaseURL       = "http://localhost:1502/api/v1/metadata/"
)

Variables

View Source
var CLIConfigDir string
View Source
var CLIConfigFile string
View Source
var CLICredentialsFile string
View Source
var CLILogFile string

Functions

func GetToken

func GetToken() string

func Set

func Set(cfg *Config)

func SetToken

func SetToken(token string)

Types

type Config

type Config struct {
	Username                     string
	Password                     string
	AuthenticationServiceBaseURL string
	DataServiceBaseURL           string
	MetaDataServiceBaseURL       string
}

func Get

func Get() *Config

Jump to

Keyboard shortcuts

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