api

package
v0.0.0-...-f670bf4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(db *sql.DB)

Init sets up api for service

func InitRoutes

func InitRoutes(g *echo.Group, db *sql.DB)

InitRoutes adds all routes to an Echo Group

Types

type Response

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

Response struct

func GetResponses

func GetResponses(db *sql.DB) ([]*Response, error)

GetResponses returns list of all Responses in db

Jump to

Keyboard shortcuts

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