config

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Hub *HubConf `json:"hub"`
	Idp *IdpConf `json:"idp"`
}

func LoadConfig

func LoadConfig() *Conf

LoadConfig reads the config file from the Cellery home and returns the Config struct

type HubConf

type HubConf struct {
	Url string `json:"url"`
}

type IdpConf

type IdpConf struct {
	Url      string `json:"url"`
	ClientId string `json:"clientId"`
}

Jump to

Keyboard shortcuts

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