Documentation
¶
Index ¶
- type ClientKey
- type ClientValue
- type Config
- type ConfigKey
- type ConfigValue
- type Ingress
- type IngressBuilder
- func (b *IngressBuilder) Error() error
- func (b *IngressBuilder) Ingress() (Ingress, error)
- func (b *IngressBuilder) WithAddr(addr *net.UDPAddr) *IngressBuilder
- func (b *IngressBuilder) WithAddrFrom(addrStr string) *IngressBuilder
- func (b *IngressBuilder) WithHostport(hp model.HostPort) *IngressBuilder
- func (b *IngressBuilder) WithHostportFrom(hostport string) *IngressBuilder
- func (b *IngressBuilder) WithHostports(hps []model.HostPort) *IngressBuilder
- func (b *IngressBuilder) WithRestr(iprestr restr.IP) *IngressBuilder
- func (b *IngressBuilder) WithRestrFrom(allows []string, denies []string) *IngressBuilder
- type Server
- type ServerKey
- type ServerValue
- type Status
- type Stores
- type TransportsFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientValue ¶
type ClientValue struct {
Cert *x509.Certificate `json:"cert"`
}
func (ClientValue) MarshalJSON ¶
func (v ClientValue) MarshalJSON() ([]byte, error)
func (*ClientValue) UnmarshalJSON ¶
func (v *ClientValue) UnmarshalJSON(b []byte) error
type ConfigValue ¶
type IngressBuilder ¶ added in v0.8.0
type IngressBuilder struct {
// contains filtered or unexported fields
}
func NewIngressBuilder ¶ added in v0.8.0
func NewIngressBuilder() *IngressBuilder
func (*IngressBuilder) Error ¶ added in v0.8.0
func (b *IngressBuilder) Error() error
func (*IngressBuilder) Ingress ¶ added in v0.8.0
func (b *IngressBuilder) Ingress() (Ingress, error)
func (*IngressBuilder) WithAddr ¶ added in v0.8.0
func (b *IngressBuilder) WithAddr(addr *net.UDPAddr) *IngressBuilder
func (*IngressBuilder) WithAddrFrom ¶ added in v0.8.0
func (b *IngressBuilder) WithAddrFrom(addrStr string) *IngressBuilder
func (*IngressBuilder) WithHostport ¶ added in v0.8.0
func (b *IngressBuilder) WithHostport(hp model.HostPort) *IngressBuilder
func (*IngressBuilder) WithHostportFrom ¶ added in v0.8.0
func (b *IngressBuilder) WithHostportFrom(hostport string) *IngressBuilder
func (*IngressBuilder) WithHostports ¶ added in v0.8.0
func (b *IngressBuilder) WithHostports(hps []model.HostPort) *IngressBuilder
func (*IngressBuilder) WithRestr ¶ added in v0.8.0
func (b *IngressBuilder) WithRestr(iprestr restr.IP) *IngressBuilder
func (*IngressBuilder) WithRestrFrom ¶ added in v0.8.0
func (b *IngressBuilder) WithRestrFrom(allows []string, denies []string) *IngressBuilder
type ServerValue ¶
type ServerValue struct {
Name string `json:"name"`
Cert *certc.Cert `json:"cert"`
Clients map[serverClientKey]ClientValue `json:"clients"`
}
func (ServerValue) MarshalJSON ¶
func (v ServerValue) MarshalJSON() ([]byte, error)
func (*ServerValue) UnmarshalJSON ¶
func (v *ServerValue) UnmarshalJSON(b []byte) error
type Stores ¶
type Stores interface {
Config() (logc.KV[ConfigKey, ConfigValue], error)
Clients() (logc.KV[ClientKey, ClientValue], error)
Servers() (logc.KV[ServerKey, ServerValue], error)
}
func NewFileStores ¶
Click to show internal directories.
Click to hide internal directories.