configs

package
v0.0.0-...-c6e58be Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 3 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 {
	// contains filtered or unexported fields
}

func NewFromEnv

func NewFromEnv() (*Config, error)

func (*Config) GrpcServerAddress

func (c *Config) GrpcServerAddress() string

func (*Config) MaxRegistrationRetries

func (c *Config) MaxRegistrationRetries() int8

func (*Config) NatsAddress

func (c *Config) NatsAddress() string

func (*Config) NodeIdDirPath

func (c *Config) NodeIdDirPath() string

func (*Config) NodeIdFileName

func (c *Config) NodeIdFileName() string

func (*Config) RegistrationReqTimeoutMilliseconds

func (c *Config) RegistrationReqTimeoutMilliseconds() int64

func (*Config) SerfBindAddress

func (c *Config) SerfBindAddress() string

func (*Config) SerfBindPort

func (c *Config) SerfBindPort() int

Jump to

Keyboard shortcuts

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