api

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VersionJson = Version{
	Name:    _const.NAME,
	Version: _const.VERSION,
}

Functions

func IdApi added in v0.0.6

func IdApi(dbm *ASP2.DBMutex) func(r http.ResponseWriter, t *http.Request)

func JWSPost

func JWSPost(requestJWSReader io.ReadCloser, dbm *ASPDatebase.DBMutex) mo.Result[string]

func PostApi added in v0.0.6

func PostApi(dbm *ASPDatebase.DBMutex) func(r http.ResponseWriter, t *http.Request)

func VersionApi2

func VersionApi2(r http.ResponseWriter, t *http.Request)

Types

type Version

type Version struct {
	Name       string `json:"name"`
	Version    string `json:"version"`
	Repository string `json:"repository,omitempty"`
	Homepage   string `json:"homepage,omitempty"`
}

Jump to

Keyboard shortcuts

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