api

package
v0.0.0-...-379a2b2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePositiveInt

func ValidatePositiveInt(parameter string) (val int, err error)

ValidatePositiveInt obtains the positive int value of query var defined by the provided varKey

Types

type CodeListAPI

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

CodeListAPI holds all endpoints which are used to access the code list resources

func CreateCodeListAPI

func CreateCodeListAPI(route *mux.Router, store datastore.DataStore, apiURL, datasetAPIURL string, defaultOffset, defaultLimit, maxLimit int) *CodeListAPI

CreateCodeListAPI returns a constructed code list api

Jump to

Keyboard shortcuts

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