http

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 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)

type WalletsHandler

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

func NewWalletsHandler

func NewWalletsHandler(storesConnector stores.Stores) *WalletsHandler

func (*WalletsHandler) Register

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

Jump to

Keyboard shortcuts

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