servicekey

package
v0.2.92 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceKey

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

func New

func New(options *options.Options, logger *zerolog.Logger) *ServiceKey

func (*ServiceKey) App

func (a *ServiceKey) App() *fiber.App

func (*ServiceKey) ServiceKeyLogin

func (a *ServiceKey) ServiceKeyLogin(ctx *fiber.Ctx) error

ServiceKeyLogin godoc @Summary ServiceKeyLogin logs in a user with their Service Key @Description ServiceKeyLogin logs in a user with their Service Key @Tags servicekey, login @Accept json @Produce json @Param servicekey query string true "Service Key" @Success 200 {object} models.ServiceKeyLoginResponse @Failure 400 {string} string @Failure 401 {string} string @Failure 500 {string} string @Router /servicekey/login [post]

Jump to

Keyboard shortcuts

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