http

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QKMKeyIDPrefix = "qkm-"
)

Variables

This section is empty.

Functions

func StoreNameFromContext

func StoreNameFromContext(ctx context.Context) string

func WithStoreName

func WithStoreName(ctx context.Context, name string) context.Context

Types

type EthHandler

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

func NewEthHandler

func NewEthHandler(storesConnector stores.Stores) *EthHandler

func (*EthHandler) Register

func (h *EthHandler) Register(r *mux.Router)

type KeysHandler

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

func NewKeysHandler

func NewKeysHandler(storesConnector stores.Stores) *KeysHandler

func (*KeysHandler) Register

func (h *KeysHandler) Register(r *mux.Router)

type SecretsHandler

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

func NewSecretsHandler

func NewSecretsHandler(storesConnector stores.Stores) *SecretsHandler

func (*SecretsHandler) Register

func (h *SecretsHandler) Register(r *mux.Router)

type StoresHandler

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

func NewStoresHandler

func NewStoresHandler(s stores.Stores) *StoresHandler

NewStoresHandler creates a http.Handler to be served on /stores

func (*StoresHandler) Register

func (h *StoresHandler) Register(router *mux.Router)

Jump to

Keyboard shortcuts

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