schemas

package
v0.0.0-...-2e5e463 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessagePacket

type MessagePacket struct {
	Data string `jsonapi:"attr,data" json:"data" validate:"required"`
	Text string `jsonapi:"attr,text" json:"text" validate:"required"`
	Type string `jsonapi:"attr,type" json:"type" validate:"required"`
}

MessagePacket is the low-level format for storing contents of a message and arguments

Jump to

Keyboard shortcuts

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