echosite

package
v0.0.0-...-d530a24 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

echosite api client author: lfreedomdev@gmail.com date: 2019/04/21 11:24:30

echosite models author: lfreedomdev@gmail.com date: 2019/04/21 11:24:30

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetConfig

func SetConfig(es_server string, ng_server string, ng_version string)

Types

type EsReq

type EsReq struct {
	Action string      `json:"Action"`
	Data   interface{} `json:"Data"`
	Server interface{} `json:"Server"`
}

echosite request pack

type EsResp

type EsResp struct {
	Data    interface{} `json:"data"`
	Code    int         `json:"errcode"`
	Message string      `json:"message"`
}

echosite response pack

func Request

func Request(req EsReq) (*EsResp, error)

type EsUser

type EsUser struct {
	Id    string
	Token string
}

user status info

Jump to

Keyboard shortcuts

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