handler

package
v0.0.0-...-2486f02 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddHandler

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

func NewAddHandler

func NewAddHandler(ctx context.Context, req *item.AddReq) *AddHandler

func (*AddHandler) Add

func (h *AddHandler) Add() (*item.AddResp, error)

type DecrStockHandler

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

func NewDecrStockHandler

func NewDecrStockHandler(ctx context.Context, req *item.DecrStockReq) *DecrStockHandler

func (*DecrStockHandler) DecrStock

func (h *DecrStockHandler) DecrStock() (*item.DecrStockResp, error)

type DecrStockRevertHandler

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

func NewDecrStockRevertHandler

func NewDecrStockRevertHandler(ctx context.Context, req *item.DecrStockReq) *DecrStockRevertHandler

func (*DecrStockRevertHandler) DecrStockRevert

func (h *DecrStockRevertHandler) DecrStockRevert() (*item.DecrStockResp, error)

type DeleteHandler

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

func NewDeleteHandler

func NewDeleteHandler(ctx context.Context, req *item.DeleteReq) *DeleteHandler

func (*DeleteHandler) Delete

func (h *DeleteHandler) Delete() (*item.DeleteResp, error)

type EditHandler

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

func NewEditHandler

func NewEditHandler(ctx context.Context, req *item.EditReq) *EditHandler

func (*EditHandler) Edit

func (h *EditHandler) Edit() (*item.EditResp, error)

type GetHandler

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

func NewGetHandler

func NewGetHandler(ctx context.Context, req *item.GetReq) *GetHandler

func (*GetHandler) Get

func (h *GetHandler) Get() (*item.GetResp, error)

type ListHandler

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

func NewListHandler

func NewListHandler(ctx context.Context, req *item.ListReq) *ListHandler

func (*ListHandler) List

func (h *ListHandler) List() (*item.ListResp, error)

type MGet2CHandler

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

func NewMGet2CHandler

func NewMGet2CHandler(ctx context.Context, req *item.MGet2CReq) *MGet2CHandler

func (*MGet2CHandler) MGet

func (h *MGet2CHandler) MGet() (*item.MGet2CResp, error)

type OfflineHandler

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

func NewOfflineHandler

func NewOfflineHandler(ctx context.Context, req *item.OfflineReq) *OfflineHandler

func (*OfflineHandler) Offline

func (h *OfflineHandler) Offline() (*item.OfflineResp, error)

type OnlineHandler

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

func NewOnlineHandler

func NewOnlineHandler(ctx context.Context, req *item.OnlineReq) *OnlineHandler

func (*OnlineHandler) Online

func (h *OnlineHandler) Online() (*item.OnlineResp, error)

type SearchHandler

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

func NewSearchHandler

func NewSearchHandler(ctx context.Context, req *item.SearchReq) *SearchHandler

func (*SearchHandler) Search

func (h *SearchHandler) Search() (*item.SearchResp, error)

Jump to

Keyboard shortcuts

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