api

package
v0.0.0-...-e43e367 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 12 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 {
	Specs   *openapi.Openapi
	Handler Handler
	Port    int
}

func (API) Start

func (a API) Start(ctx context.Context) error

type Handler

type Handler struct {
	Converter converter.Converter
}

func (Handler) Information

func (h Handler) Information(c *context.Context)

func (Handler) Sat

func (h Handler) Sat(c *context.Context, data interface{})

type Payload

type Payload struct {
	Coordinates []model.GeoPoint `json:"coordinates"`
	converter.Configurations
}

func (*Payload) Parse

func (p *Payload) Parse(data []byte) error

Jump to

Keyboard shortcuts

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