Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorBadRequest = errors.New("无效的请求参数")
)
Functions ¶
func MakeHttpHandler ¶
func MakeHttpHandler(ctx context.Context, endpoints endpts.DiscoveryEndpoints, logger log.Logger) http.Handler
MakeHttpHandler 使用mux创建http请求处理器
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.