endpoint

package
v0.0.0-...-de569a9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGoodsDetailEndpoint

func MakeGoodsDetailEndpoint(svc service.Service, limiter *rate.Limiter) endpoint.Endpoint

创建商品详情的 Endpoint

Types

type GoodsDetailRequest

type GoodsDetailRequest struct {
	Id string
}

商品详情请求结构体

type GoodsDetailResponse

type GoodsDetailResponse struct {
	Detail service.GoodsDetailVO `json:"detail"`
	Error  string                `json:"error"`
}

商品详情响应结构体

type GoodsEndpoints

type GoodsEndpoints struct {
	GoodsDetailEndpoint endpoint.Endpoint
}

Jump to

Keyboard shortcuts

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