codefly

package module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 7 Imported by: 1

README

codefly + go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchPanic added in v0.0.7

func CatchPanic()

func LoadEnvironmentVariables added in v0.0.7

func LoadEnvironmentVariables()

func LoadOverrides added in v0.0.7

func LoadOverrides()

func LoadService added in v0.0.7

func LoadService()

func Version added in v0.0.7

func Version() string

func WithDebug added in v0.0.7

func WithDebug()

func WithRoot added in v0.0.7

func WithRoot(dir string)

func WithTrace added in v0.0.7

func WithTrace()

Types

type Configuration added in v0.0.7

type Configuration struct {
	Endpoints []EndpointOverride
}

type EndpointOverride added in v0.0.7

type EndpointOverride struct {
	Name     string
	Override string
}

type INetworkEndpoint added in v0.0.7

type INetworkEndpoint interface {
	IsPresent() bool
	WithDefault(backup string) INetworkEndpoint

	Host() string
	PortAddress() string
}

func Endpoint

func Endpoint(name string) INetworkEndpoint

type NetworkEndpoint

type NetworkEndpoint struct {
	Values []string
}

func (*NetworkEndpoint) Host

func (e *NetworkEndpoint) Host() string

func (*NetworkEndpoint) IsPresent added in v0.0.7

func (e *NetworkEndpoint) IsPresent() bool

func (*NetworkEndpoint) PortAddress

func (e *NetworkEndpoint) PortAddress() string

func (*NetworkEndpoint) WithDefault

func (e *NetworkEndpoint) WithDefault(backup string) INetworkEndpoint

type NetworkEndpointNotFound added in v0.0.7

type NetworkEndpointNotFound struct {
}

func (*NetworkEndpointNotFound) Host added in v0.0.7

func (e *NetworkEndpointNotFound) Host() string

func (*NetworkEndpointNotFound) IsPresent added in v0.0.7

func (e *NetworkEndpointNotFound) IsPresent() bool

func (*NetworkEndpointNotFound) PortAddress added in v0.0.7

func (e *NetworkEndpointNotFound) PortAddress() string

func (*NetworkEndpointNotFound) WithDefault added in v0.0.7

func (e *NetworkEndpointNotFound) WithDefault(backup string) INetworkEndpoint

Jump to

Keyboard shortcuts

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