Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { JoinReq(pl backend.JoinReqPayload) (backend.JoinAnsPayload, error) RejoinReq(pl backend.RejoinReqPayload) (backend.RejoinAnsPayload, error) }
Client defines the join-server client interface.
type Config ¶
type Config struct { Pool Pool ResolveJoinEUI bool `mapstructure:"resolve_join_eui"` ResolveDomainSuffix string `mapstructure:"resolve_domain_suffix"` Certificates []struct { JoinEUI string `mapstructure:"join_eui"` CaCert string `mapstructure:"ca_cert"` TLSCert string `mapstructure:"tls_cert"` TLSKey string `mapstructure:"tls_key"` } `mapstructure:"certificates"` Default struct { Server string CACert string `mapstructure:"ca_cert"` TLSCert string `mapstructure:"tls_cert"` TLSKey string `mapstructure:"tls_key"` } KEK struct { Set []struct { Label string KEK string `mapstructure:"kek"` } } `mapstructure:"kek"` }
Config holds the join-server configuration.
Click to show internal directories.
Click to hide internal directories.