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: 11 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 Init

func Init()

func PayOrder

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

PayOrder 支付订单

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