protocol

package
v0.0.0-...-7c4ebca Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Time  string                 `json:"time"`
	Tag   map[string]interface{} `json:"tag"`
	Field map[string]interface{} `json:"field"`
}

func NewData

func NewData() *Data

type Proto

type Proto struct {
	Name     string `json:"name"`
	Version  int    `json:"version"`
	DataList []Data `json:"data"`
}

func NewProto

func NewProto(version int) *Proto

Jump to

Keyboard shortcuts

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