api

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: BSD-4-Clause Imports: 12 Imported by: 0

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)

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

Jump to

Keyboard shortcuts

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