Documentation
¶
Index ¶
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 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 ¶
func NewTmpFileStores ¶
Click to show internal directories.
Click to hide internal directories.