root

package
v0.0.0-...-63952dd Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Endpoint

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

func NewEndpoint

func NewEndpoint(c EndpointConfig) (*Endpoint, error)

func (*Endpoint) Endpoint

func (e *Endpoint) Endpoint() atreugo.View

func (*Endpoint) Method

func (e *Endpoint) Method() string

func (*Endpoint) Middlewares

func (e *Endpoint) Middlewares() atreugo.Middlewares

func (*Endpoint) Path

func (e *Endpoint) Path() string

type EndpointConfig

type EndpointConfig struct {
	Flags      *flags.Flags
	Middleware *middleware.Middleware
	Models     *models.Model
	Logger     micrologger.Logger
}

type Response

type Response struct {
	Description string `json:"description"`
	Name        string `json:"name"`
	GitCommit   string `json:"git_commit"`
	Source      string `json:"source"`
	Version     string `json:"version"`
}

Jump to

Keyboard shortcuts

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