api

package
v0.0.0-...-bf0e07c Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MPL-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 AuthToken

type AuthToken struct {
	AccessToken string `json:"access_token"` //nolint: tagliatelle
}

func (*AuthToken) Render

func (a *AuthToken) Render(w http.ResponseWriter, r *http.Request) error

type Controller

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

func NewController

func NewController(lg *zap.Logger, conf *config.Config) *Controller

type ErrorResp

type ErrorResp struct {
	Msg string `json:"msg"`
}

func (ErrorResp) Render

func (e ErrorResp) Render(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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