config

package
v0.0.0-...-258337a Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright (c) 2021 Cisco Systems, Inc and its affiliates All Rights reserved

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Consul Consul
	Vault  Vault
}

Config represents the complete helloworldservice config options.

func ReadConfig

func ReadConfig() *Config

type Consul

type Consul struct {
	Host     string
	Port     string
	CACert   string
	Insecure bool
	Token    string
	Prefix   string
}

Consul represent the Consul config options.

type Vault

type Vault struct {
	Scheme   string
	Host     string
	Port     string
	Token    string
	CACert   string
	Insecure bool
	Prefix   string
}

Vault represents Vault config options.

Jump to

Keyboard shortcuts

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