headscale

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeadscaleServer added in v0.11.0

type HeadscaleServer struct {
	// contains filtered or unexported fields
}

func NewHeadscaleServer added in v0.11.0

func NewHeadscaleServer(config *HeadscaleServerConfig) *HeadscaleServer

func (*HeadscaleServer) Connect added in v0.11.0

func (s *HeadscaleServer) Connect() error

func (*HeadscaleServer) CreateAuthKey added in v0.11.0

func (s *HeadscaleServer) CreateAuthKey() (string, error)

func (*HeadscaleServer) CreateUser added in v0.11.0

func (s *HeadscaleServer) CreateUser() error

func (*HeadscaleServer) HTTPClient added in v0.11.0

func (s *HeadscaleServer) HTTPClient() *http.Client

func (*HeadscaleServer) Init added in v0.11.0

func (s *HeadscaleServer) Init() error

func (*HeadscaleServer) Purge added in v0.25.0

func (s *HeadscaleServer) Purge() error

func (*HeadscaleServer) Start added in v0.11.0

func (s *HeadscaleServer) Start(errChan chan error) error

func (*HeadscaleServer) Stop added in v0.25.0

func (s *HeadscaleServer) Stop() error

type HeadscaleServerConfig added in v0.11.0

type HeadscaleServerConfig struct {
	ServerId      string
	FrpsDomain    string
	FrpsProtocol  string
	HeadscalePort uint32
	ConfigDir     string
	Frps          *server.FRPSConfig
}

Jump to

Keyboard shortcuts

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