api

package
v0.0.0-...-c8ba5d5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(r chi.Router, app App) func(r chi.Router)

Router - all of the routes dealing with the App

Types

type App

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

App defines the aviliable interactions in this app

func NewApp

func NewApp() (App, error)

NewApp connects to the DB and sets up our App

Jump to

Keyboard shortcuts

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