v1

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: 10 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 {
	Users  *users.Endpoint
	Events *events.Endpoint
	// 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
	WebsocketUpgrader *websocket.Upgrader
	Logger            micrologger.Logger
}

Jump to

Keyboard shortcuts

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