service

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticationInterceptor

func AuthenticationInterceptor(systemAdminKey *key.ServerPrivate, repository domain.Repository) connect.UnaryInterceptorFunc

func CurrentPrincipal

func CurrentPrincipal(ctx context.Context) domain.Principal

Types

type ErrorInterceptor added in v0.7.0

type ErrorInterceptor struct {
}

func NewErrorInterceptor added in v0.7.0

func NewErrorInterceptor() *ErrorInterceptor

func (*ErrorInterceptor) WrapStreamingClient added in v0.7.0

func (*ErrorInterceptor) WrapStreamingHandler added in v0.7.0

func (*ErrorInterceptor) WrapUnary added in v0.7.0

func (e *ErrorInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc

type Service

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

func NewService

func NewService(config *config.Config, authProvider auth.Provider, dnsProvider dns.Provider, repository domain.Repository, sessionManager core.PollMapSessionManager) *Service

func (*Service) AuthorizeMachine added in v0.7.0

func (*Service) DisableExitNode added in v0.2.0

func (*Service) DisableFileSharing added in v0.4.0

func (*Service) DisableSSH added in v0.4.0

func (*Service) EnableExitNode added in v0.2.0

func (*Service) EnableFileSharing added in v0.6.0

func (*Service) EnableSSH added in v0.6.0

func (*Service) EnableServiceCollection added in v0.6.0

func (*Service) GetDefaultDERPMap added in v0.4.0

func (*Service) ResetDERPMap added in v0.4.0

func (*Service) SetMachineName added in v0.17.0

func (*Service) UpdateTailnet added in v0.9.0

Jump to

Keyboard shortcuts

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