handler

package
v0.0.0-...-908d554 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthWrapper

func AuthWrapper(h http.Handler) http.Handler

AuthWrapper 认证wrapper

func Hello

func Hello(w http.ResponseWriter, r *http.Request)

func Init

func Init()

func New

func New(w http.ResponseWriter, r *http.Request)

New 新增订单入口

Types

type Error

type Error struct {
	Code   string `json:"code"`
	Detail string `json:"detail"`
}

Error 错误结构体

Jump to

Keyboard shortcuts

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