server

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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 PushProxyInfo added in v0.0.31

func PushProxyInfo(ctx context.Context, req *pb.PushProxyInfoReq) (*pb.PushProxyInfoResp, 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