web

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColumnSetToRows

func ColumnSetToRows(row table.ColumnSet) server.Row

func RegisterSwaggerHandler

func RegisterSwaggerHandler(r *echo.Echo, swagger *openapi3.T) error

func RowToColumnSet

func RowToColumnSet(row server.Row) table.ColumnSet

func SwaggerStaticHtml

func SwaggerStaticHtml() string

Types

type WebServer

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

func New

func New(db *db.Database, port uint16) *WebServer

func (*WebServer) Run

func (s *WebServer) Run() error

Directories

Path Synopsis
Package server provides primitives to interact with the openapi HTTP API.
Package server provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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