webhandlers

package
v0.0.0-...-44c5682 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllValues

func GetAllValues(kv *keystore.KeyStore) http.HandlerFunc

func GetValues

func GetValues(kv *keystore.KeyStore) http.HandlerFunc

func SetValues

func SetValues(kv *keystore.KeyStore, kafkaWriter *kafkaGo.Writer) http.HandlerFunc

func Subscribes

func Subscribes(kv *keystore.KeyStore, kafkaReader *kafkaGo.Reader) http.HandlerFunc

Types

type IncomingGetRequest

type IncomingGetRequest struct {
	Key string `json:"key"`
}

type IncommingPostReqest

type IncommingPostReqest struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

type OutgoingPostRequest

type OutgoingPostRequest struct {
	Key   string `json:"Key"`
	Value string `json:"Value"`
}

Jump to

Keyboard shortcuts

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