Documentation ¶
Index ¶
- func EndpointActivateNamespace(ctx *fiber.Ctx) error
- func EndpointCreateInvite(ctx *fiber.Ctx) error
- func EndpointCreateNamespace(ctx *fiber.Ctx) error
- func EndpointCreatePasteElement(ctx *fiber.Ctx) error
- func EndpointCreateRedirectElement(ctx *fiber.Ctx) error
- func EndpointDeactivateNamespace(ctx *fiber.Ctx) error
- func EndpointDeleteElement(ctx *fiber.Ctx) error
- func EndpointDeleteInvite(ctx *fiber.Ctx) error
- func EndpointDeleteNamespace(ctx *fiber.Ctx) error
- func EndpointGetElement(ctx *fiber.Ctx) error
- func EndpointGetInfo(ctx *fiber.Ctx) error
- func EndpointGetNamespace(ctx *fiber.Ctx) error
- func EndpointListElements(ctx *fiber.Ctx) error
- func EndpointListInvites(ctx *fiber.Ctx) error
- func EndpointListNamespaceElements(ctx *fiber.Ctx) error
- func EndpointListNamespaces(ctx *fiber.Ctx) error
- func EndpointResetNamespaceToken(ctx *fiber.Ctx) error
- func EndpointValidateInvite(ctx *fiber.Ctx) error
- func MiddlewareAdminAuth(ctx *fiber.Ctx) error
- func MiddlewareInjectNamespace(ctx *fiber.Ctx) error
- func MiddlewareRequireAdminAuth(ctx *fiber.Ctx) error
- func MiddlewareTokenAuth(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointActivateNamespace ¶
func EndpointActivateNamespace(ctx *fiber.Ctx) error
EndpointActivateNamespace handles the POST /v1/namespaces/:namespace/activate endpoint
func EndpointCreateInvite ¶
func EndpointCreateInvite(ctx *fiber.Ctx) error
EndpointCreateInvite handles the POST /v1/invites/:code? endpoint
func EndpointCreateNamespace ¶
func EndpointCreateNamespace(ctx *fiber.Ctx) error
EndpointCreateNamespace handles the POST /v1/namespaces/:namespace endpoint
func EndpointCreatePasteElement ¶
func EndpointCreatePasteElement(ctx *fiber.Ctx) error
EndpointCreatePasteElement handles the POST /v1/elements/:namespace/paste/:key? endpoint
func EndpointCreateRedirectElement ¶
func EndpointCreateRedirectElement(ctx *fiber.Ctx) error
EndpointCreateRedirectElement handles the POST /v1/elements/:namespace/redirect/:key? endpoint
func EndpointDeactivateNamespace ¶
func EndpointDeactivateNamespace(ctx *fiber.Ctx) error
EndpointDeactivateNamespace handles the POST /v1/namespaces/:namespace/deactivate endpoint
func EndpointDeleteElement ¶
func EndpointDeleteElement(ctx *fiber.Ctx) error
EndpointDeleteElement handles the DELETE /v1/elements/:namespace/:key endpoint
func EndpointDeleteInvite ¶
func EndpointDeleteInvite(ctx *fiber.Ctx) error
EndpointDeleteInvite handles the DELETE /v1/invites/:code endpoint
func EndpointDeleteNamespace ¶
func EndpointDeleteNamespace(ctx *fiber.Ctx) error
EndpointDeleteNamespace handles the DELETE /v1/namespaces/:namespace endpoint
func EndpointGetElement ¶
func EndpointGetElement(ctx *fiber.Ctx) error
EndpointGetElement handles the GET /v1/elements/:namespace/:key endpoint
func EndpointGetInfo ¶
func EndpointGetInfo(ctx *fiber.Ctx) error
EndpointGetInfo handles the GET /v1/info endpoint
func EndpointGetNamespace ¶
func EndpointGetNamespace(ctx *fiber.Ctx) error
EndpointGetNamespace handles the GET /v1/namespaces/:namespace endpoint
func EndpointListElements ¶
func EndpointListElements(ctx *fiber.Ctx) error
EndpointListElements handles the GET /v1/elements endpoint
func EndpointListInvites ¶
func EndpointListInvites(ctx *fiber.Ctx) error
EndpointListInvites handles the GET /v1/invites endpoint
func EndpointListNamespaceElements ¶
func EndpointListNamespaceElements(ctx *fiber.Ctx) error
EndpointListNamespaceElements handles the GET /v1/elements/:namespace endpoint
func EndpointListNamespaces ¶
func EndpointListNamespaces(ctx *fiber.Ctx) error
EndpointListNamespaces handles the GET /v1/namespaces endpoint
func EndpointResetNamespaceToken ¶
func EndpointResetNamespaceToken(ctx *fiber.Ctx) error
EndpointResetNamespaceToken handles the POST /v1/namespaces/:namespace/resetToken endpoint
func EndpointValidateInvite ¶
func EndpointValidateInvite(ctx *fiber.Ctx) error
EndpointValidateInvite handles the GET /v1/invites/:code endpoint
func MiddlewareAdminAuth ¶
func MiddlewareAdminAuth(ctx *fiber.Ctx) error
MiddlewareAdminAuth handles admin token authentication
func MiddlewareInjectNamespace ¶
func MiddlewareInjectNamespace(ctx *fiber.Ctx) error
MiddlewareInjectNamespace injects the requested namespace if it exists
func MiddlewareRequireAdminAuth ¶
func MiddlewareRequireAdminAuth(ctx *fiber.Ctx) error
MiddlewareRequireAdminAuth handles admin token authentication requirement
func MiddlewareTokenAuth ¶
func MiddlewareTokenAuth(ctx *fiber.Ctx) error
MiddlewareTokenAuth handles namespace token authentication
Types ¶
This section is empty.