config

package
v0.0.0-...-1d55d7a Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientEndpoint

type ClientEndpoint string

func (ClientEndpoint) Apply

func (o ClientEndpoint) Apply(c *Config)

type Config

type Config struct {
	LogLevel string

	Server struct {
		ListenURL string
	}

	Client struct {
		Endpoint string
	}
}

func NewConfig

func NewConfig(opts ...Option) *Config

type LogLevel

type LogLevel string

func (LogLevel) Apply

func (o LogLevel) Apply(c *Config)

type Option

type Option interface {
	Apply(*Config)
}

type ServerListenURL

type ServerListenURL string

func (ServerListenURL) Apply

func (o ServerListenURL) Apply(c *Config)

Jump to

Keyboard shortcuts

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