selfhosted

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientAuthenticator

func NewClientAuthenticator(auths ...ClientAuthentication) control.ClientAuthenticator

func NewRelayAuthenticator

func NewRelayAuthenticator(auths ...RelayAuthentication) control.RelayAuthenticator

Types

type ClientAuthentication

type ClientAuthentication struct {
	Token string
	IPs   restr.IP
	Names restr.Name
	Role  model.Role
}

type RelayAuthentication

type RelayAuthentication struct {
	Token string
	IPs   restr.IP
}

Jump to

Keyboard shortcuts

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