server

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FRPAuth

func FRPAuth(ctx context.Context, req *pb.FRPAuthRequest) (*pb.FRPAuthResponse, error)

func GetServerHandler

func GetServerHandler(c context.Context, req *pb.GetServerRequest) (*pb.GetServerResponse, error)

func ValidateServerRequest

func ValidateServerRequest(req ValidateableServerRequest) (*models.ServerEntity, error)

Types

type ValidateableServerRequest

type ValidateableServerRequest interface {
	GetServerSecret() string
	GetServerId() string
}

Jump to

Keyboard shortcuts

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