mpresponse

package
v0.0.0-...-3faa710 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mpresponse result User: 姜伟 Time: 2020-02-19 05:04:11

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResultAPI

type ResultAPI struct {
	Data interface{} `json:"data"  ,xml:"Data"` // 响应数据
	// contains filtered or unexported fields
}

ResultAPI 接口响应,用于请求正常情况

func NewResultAPI

func NewResultAPI() *ResultAPI

NewResultAPI 实例化

func (*ResultAPI) Refresh

func (r *ResultAPI) Refresh()

Refresh 刷新

type ResultProblem

type ResultProblem struct {
	Tag    string `json:"tag" ,xml:"Tag"`       // 问题标识
	Title  string `json:"title" ,xml:"Title"`   // 问题标题
	Status int    `json:"status" ,xml:"Status"` // 问题状态
	// contains filtered or unexported fields
}

ResultProblem 问题响应,用于请求出问题情况

func NewResultProblem

func NewResultProblem() *ResultProblem

NewResultProblem 实例化

func (*ResultProblem) Refresh

func (r *ResultProblem) Refresh()

Refresh 刷新

Jump to

Keyboard shortcuts

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