api

package
v0.0.0-...-a093bcc Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountResult

type CountResult struct {
	Count int `json:"count"`
}

type ErrorResult

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

type FactsApi

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

func NewFactsApi

func NewFactsApi(factsHandler *handler.FactsHandler) *FactsApi

func (*FactsApi) GetRoutes

func (f *FactsApi) GetRoutes() []router.Route

func (*FactsApi) SetupRoutes

func (f *FactsApi) SetupRoutes()

Jump to

Keyboard shortcuts

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