api

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: BSD-4-Clause Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefineRouter

func DefineRouter(ctx context.Context, config cfg.Config, logger log.Logger) (*apiserver.Definitions, error)

func NewForwardedRequestHandler

func NewForwardedRequestHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewFreeAllHandler

func NewFreeAllHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewFreeSessionHandler

func NewFreeSessionHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewGetCookiesHandler

func NewGetCookiesHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewWsCloseHandler added in v1.17.0

func NewWsCloseHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewWsConnectHandler added in v1.17.0

func NewWsConnectHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewWsReadHandler added in v1.17.0

func NewWsReadHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewWsStatsHandler added in v1.17.0

func NewWsStatsHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

func NewWsWriteHandler added in v1.17.0

func NewWsWriteHandler(ctx context.Context, config cfg.Config, logger log.Logger) (gin.HandlerFunc, error)

Types

type ForwardedRequestHandler

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

func (ForwardedRequestHandler) GetInput

func (fh ForwardedRequestHandler) GetInput() interface{}

func (ForwardedRequestHandler) Handle

type FreeAllHandler

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

func (FreeAllHandler) Handle

func (fh FreeAllHandler) Handle(ctx context.Context, request *apiserver.Request) (*apiserver.Response, error)

type FreeSessionHandler

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

func (FreeSessionHandler) GetInput

func (fh FreeSessionHandler) GetInput() interface{}

func (FreeSessionHandler) Handle

type GetCookiesHandler

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

func (GetCookiesHandler) GetInput

func (fh GetCookiesHandler) GetInput() interface{}

func (GetCookiesHandler) Handle

type WsCloseHandler added in v1.17.0

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

func (WsCloseHandler) GetInput added in v1.17.0

func (wh WsCloseHandler) GetInput() interface{}

func (WsCloseHandler) Handle added in v1.17.0

func (wh WsCloseHandler) Handle(ctx context.Context, request *apiserver.Request) (*apiserver.Response, error)

type WsConnectHandler added in v1.17.0

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

func (WsConnectHandler) GetInput added in v1.17.0

func (wh WsConnectHandler) GetInput() interface{}

func (WsConnectHandler) Handle added in v1.17.0

type WsReadHandler added in v1.17.0

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

func (WsReadHandler) GetInput added in v1.17.0

func (wh WsReadHandler) GetInput() interface{}

func (WsReadHandler) Handle added in v1.17.0

func (wh WsReadHandler) Handle(ctx context.Context, request *apiserver.Request) (*apiserver.Response, error)

type WsStatsHandler added in v1.17.0

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

func (WsStatsHandler) GetInput added in v1.17.0

func (wh WsStatsHandler) GetInput() interface{}

func (WsStatsHandler) Handle added in v1.17.0

func (wh WsStatsHandler) Handle(ctx context.Context, request *apiserver.Request) (*apiserver.Response, error)

type WsWriteHandler added in v1.17.0

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

func (WsWriteHandler) GetInput added in v1.17.0

func (wh WsWriteHandler) GetInput() interface{}

func (WsWriteHandler) Handle added in v1.17.0

func (wh WsWriteHandler) Handle(ctx context.Context, request *apiserver.Request) (*apiserver.Response, error)

Jump to

Keyboard shortcuts

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