config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeConfig

func MakeConfig(configFile string)

Types

type ConfigType

type ConfigType struct {
	EndPoint   string   `json:"endPoint"`
	APIKey     string   `json:"apiKey"`
	Username   string   `json:"username"`
	Principals []string `json:"principals"`
	PublicKey  string   `json:"publicKey"`
	CertFile   string   `json:"certFile"`
}
var Config *ConfigType

func (*ConfigType) GetCertFile

func (c *ConfigType) GetCertFile() string

func (*ConfigType) GetPublicKey

func (c *ConfigType) GetPublicKey() string

Jump to

Keyboard shortcuts

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