internal

package
v0.0.0-...-e4d9f4b Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitZapLogger

func InitZapLogger()

Types

type Config

type Config struct {
	Version     string `url:"v"`
	Method      string `url:"method"`
	AccessToken string `url:"access_token"`
	AppKey      string `url:"app_key"`
	SignMethod  string `url:"sign_method"`
	Format      string `url:"format"`
	Timestamp   string `url:"timestamp"`
	Sign        string `url:"sign"`
	ParamJson   string `url:"param_json"`
}

type Request

type Request interface {
	JsonParams() (string, error)
	ResponseName() string
}

type Result

type Result struct {
	Code       int32       `json:"code"`
	Message    string      `json:"message"`
	RequestId  string      `json:"requestId"`
	TotalCount int64       `json:"totalCount"`
	Data       interface{} `json:"data"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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