http_struct

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Message      string `json:"message"`
	ErrorMessage string `json:"error_message"`
}

type RequestConnectionId

type RequestConnectionId struct {
	ConnectionId string `json:"connection_id"`
}

type RequestConnectionMessage

type RequestConnectionMessage struct {
	ConnectionId string `json:"connection_id"`
	PushMessage  string `json:"push_message"`
}

type RequestWorkerAddr

type RequestWorkerAddr struct {
	Addr string `json:"addr"`
}

type RequestWorkerAddrList

type RequestWorkerAddrList struct {
	AddrList []string `json:"addr_list"`
}

type Response

type Response struct {
	Code int     `json:"code"`
	Data Message `json:"data"`
}

Jump to

Keyboard shortcuts

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