login

package
v0.0.0-...-063afa5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(parent wrapper.RouterWrapper, logger logr.Logger) (apiserver.APIHandler, error)

NewHandler instantiates a new login api handler

Types

type Response

type Response struct {
	Ok    bool   `json:"ok"`
	ID    string `json:"id"`
	Token string `json:"token"`
}

Response is common struct for responding login request

Jump to

Keyboard shortcuts

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