public

package
v0.0.0-...-cfbb22e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Pings *PingResource
}

API provides admin application resources and handlers.

func NewAPI

func NewAPI(db *pg.DB) (*API, error)

NewAPI configures and returns admin application API.

func (*API) Router

func (a *API) Router(r *echo.Group)

type PingResource

type PingResource struct {
	Store PingStore
}

Ping Resource implements account management handler.

func NewPingResource

func NewPingResource(store PingStore) *PingResource

type PingStore

type PingStore interface {
	Ping() error
}

PingStore defines database operations for Ping.

Jump to

Keyboard shortcuts

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