example

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

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

Go to latest
Published: Apr 11, 2019 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 CommonMessage

type CommonMessage struct {
	Op   string      `json:"op"`
	Data interface{} `json:"data,omitempty"`
}

type GreetMessage

type GreetMessage struct {
	Greet string `json:"greet"`
}

type LoginMessage

type LoginMessage struct {
	User     string `json:"user"`
	Password string `json:"password"`
}

type LogoutMessage

type LogoutMessage struct {
	User string `json"user"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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