Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
Types ¶
type Config ¶
type Config struct {
AdminToken string
TURNSecret string
TURNURIs []string
STUNURIs []string
TURNCredentialTTL time.Duration
MaxRegistrationsPerNode int
MaxNegotiationsPerNode int
NegotiationsPerMinute int
MaxMessageBytes int64
MessagesPerMinute int
SignalBytesPerMinute int64
GlobalMessagesPerMinute int
GlobalSignalBytesPerMinute int64
AuthAttemptsPerMinute int
GlobalAuthPerMinute int
MaxConcurrentAuth int
MaxInvalidMessages int
MaxTotalRegistrations int
ReplayCacheEntries int
WebSocketReadTimeout time.Duration
WebSocketPingInterval time.Duration
AllowedOrigins []string
TrustProxyHeaders bool
}
type EnrollmentStore ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(store EnrollmentStore, cfg Config) *Server
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) BindEnrollment ¶
func (*Store) CreateEnrollment ¶
Click to show internal directories.
Click to hide internal directories.