selfhosted

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 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 added in v0.5.0

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

type RelayAuthentication added in v0.5.0

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