api

package
v0.0.0-...-3be5031 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 13 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 {
	// contains filtered or unexported fields
}

func New

func New(db *db.DB) *API

func (*API) Close

func (a *API) Close()

func (*API) Run

func (a *API) Run()

type Config

type Config struct {
	Port           string
	DevCorsEnabled bool
	DevCorsHost    string
}

type Package

type Package interface {
	SetRoutes(engine *gin.Engine)
}

Jump to

Keyboard shortcuts

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