routers

package
v0.0.0-...-8fd06f2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildServices

func BuildServices(cacheDBClient *cacheDB.CacheClient, mongoDBClient *mongo.Database) *http.ServeMux

func NewRouter

func NewRouter() *http.ServeMux

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

type Form

type Form struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type RecordRequest

type RecordRequest struct {
	StartDate string `json:"startDate"`
	EndDate   string `json:"endDate"`
	MinCount  int    `json:"minCount"`
	MaxCount  int    `json:"maxCount"`
}

Jump to

Keyboard shortcuts

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