Documentation ¶
Index ¶
- func HandleLogin(ctx *gin.Context) (interface{}, error)
- func HandleServerMessage(req *pb.ServerMessage) *pb.ClientMessage
- func MakeGinHandlerFunc(handler HandlerFunc) gin.HandlerFunc
- func NewRouter() *gin.Engine
- func PullConfig(serverID, serverSecret string) error
- func PushProxyInfo(serverID, serverSecret string) error
- func RemoveFrpsHandler(ctx context.Context, req *pb.RemoveFRPSRequest) (*pb.RemoveFRPSResponse, error)
- func StartPTYConnect(c context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
- func StartSteamLogHandler(ctx context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
- func StopSteamLogHandler(ctx context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
- func UpdateFrpsHander(ctx context.Context, req *pb.UpdateFRPSRequest) (*pb.UpdateFRPSResponse, error)
- type HTTPError
- type HandlerFunc
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleLogin ¶
func HandleServerMessage ¶
func HandleServerMessage(req *pb.ServerMessage) *pb.ClientMessage
func MakeGinHandlerFunc ¶
func MakeGinHandlerFunc(handler HandlerFunc) gin.HandlerFunc
func PullConfig ¶
func PushProxyInfo ¶ added in v0.0.31
func RemoveFrpsHandler ¶
func RemoveFrpsHandler(ctx context.Context, req *pb.RemoveFRPSRequest) (*pb.RemoveFRPSResponse, error)
func StartPTYConnect ¶ added in v0.0.32
func StartPTYConnect(c context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
func StartSteamLogHandler ¶ added in v0.0.32
func StartSteamLogHandler(ctx context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
func StopSteamLogHandler ¶ added in v0.0.32
func StopSteamLogHandler(ctx context.Context, req *pb.CommonRequest) (*pb.CommonResponse, error)
func UpdateFrpsHander ¶
func UpdateFrpsHander(ctx context.Context, req *pb.UpdateFRPSRequest) (*pb.UpdateFRPSResponse, error)
Types ¶
type HandlerFunc ¶
Click to show internal directories.
Click to hide internal directories.