client

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientHandler

func GetClientHandler(ctx context.Context, req *pb.GetClientRequest) (*pb.GetClientResponse, error)

func ListClientsHandler

func ListClientsHandler(ctx context.Context, req *pb.ListClientsRequest) (*pb.ListClientsResponse, error)

func StartFRPCHandler

func StartFRPCHandler(ctx context.Context, req *pb.StartFRPCRequest) (*pb.StartFRPCResponse, error)

func StopFRPCHandler

func StopFRPCHandler(ctx context.Context, req *pb.StopFRPCRequest) (*pb.StopFRPCResponse, error)

func SyncTunnel

func SyncTunnel(ctx context.Context, userInfo models.UserInfo) error

func ValidateClientRequest

func ValidateClientRequest(req ValidateableClientRequest) (*models.ClientEntity, error)

Types

type ValidateableClientRequest

type ValidateableClientRequest interface {
	GetClientSecret() string
	GetClientId() string
}

Jump to

Keyboard shortcuts

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