config

package
v1.16.23-beta001 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NatsURI      string `envconfig:"NATS_URI" default:"nats://localhost:4222"`
	Namespace    string `envconfig:"NAMESPACE" default:"testkube"`
	ExecutionId  string `envconfig:"ID" default:""`
	HttpAddress  string `envconfig:"HTTP_ADDRESS" default:":8080"`
	GrpcAddress  string `envconfig:"GRPC_ADDRESS" default:":9090"`
	KVBucketName string `envconfig:"KV_BUCKET_NAME" default:"logsState"`
}

func Get

func Get() (*Config, error)

Jump to

Keyboard shortcuts

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