apihandlers

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package handlers for the RESTful Server

Documentation for REST API

Schemes: http, https
BasePath: /
Version: 1.0.7

Consumes:
- application/json

Produces:
- application/json

swagger:meta

Package handlers for the RESTful Server

Documentation for REST API

Schemes: http, https
BasePath: /
Version: 1.0.7

Consumes:
- application/json

Produces:
- application/json

swagger:meta

Package handlers for the RESTful Server

Documentation for REST API

Schemes: http, https
BasePath: /
Version: 1.0.7

Consumes:
- application/json

Produces:
- application/json

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHandler

func DefaultHandler(w http.ResponseWriter, r *http.Request)

func Delete

func Delete(key, tID string) error

func Get

func Get(key, tID string) (string, error)

func GetNewHandler

func GetNewHandler(w http.ResponseWriter, r *http.Request)

func Put

func Put(key, val string) error

func SetConfig

func SetConfig(c configreader.Config)

func VerifyHandler

func VerifyHandler(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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