handlers

package
v1.11.7 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockUserHandler added in v1.11.2

func BlockUserHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.BlockConfigParams, principal *models.Principal,
) middleware.Responder

func DeleteUserHandler

func DeleteUserHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.DeleteConfigParams, principal *models.Principal,
) middleware.Responder

func GetBrigadeActivityHandler added in v1.9.11

func GetBrigadeActivityHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.GetBrigadeActivityParams, principal *models.Principal,
) middleware.Responder

func GetBrigadeSlotsHandler added in v1.9.11

func GetBrigadeSlotsHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.GetBrigadeSlotsParams, principal *models.Principal,
) middleware.Responder

func PostConfigHandler

func PostConfigHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.CreateConfigParams, principal *models.Principal,
) middleware.Responder

func UnblockUserHandler added in v1.11.2

func UnblockUserHandler(ctx context.Context, logger *slog.Logger, opts *Options,
	params operations.UnblockConfigParams, principal *models.Principal,
) middleware.Responder

Types

type Options

type Options struct {
	core.Options

	Testing bool
}

Jump to

Keyboard shortcuts

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