config

package
v0.0.0-...-ee2e90e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CEP

type CEP struct {
	URL string
}

type Config

type Config struct {
	ServiceA    ServiceA
	ServiceB    ServiceB
	Temperature Temperature
	CEP         CEP
	Zipkin      Zipkin
	Otel        Otel
}

type Otel

type Otel struct {
	Host string
}

type ServiceA

type ServiceA struct {
	Port string
}

type ServiceB

type ServiceB struct {
	Port string
	Host string
}

type Temperature

type Temperature struct {
	ApiKey string
	URL    string
}

type Viper

type Viper struct {
	// contains filtered or unexported fields
}

func NewViper

func NewViper(fileName string) *Viper

func (*Viper) ReadViper

func (v *Viper) ReadViper(config *Config)

type Zipkin

type Zipkin struct {
	Host     string
	Endpoint string
}

Jump to

Keyboard shortcuts

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