msgs

package
v0.0.0-...-0b5b6e3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const RoleReceiver = "receiver"
View Source
const RoleSender = "sender"

Variables

This section is empty.

Functions

This section is empty.

Types

type Goodbye

type Goodbye struct {
	Reason string `json:"reason"`
}

type Hello

type Hello struct {
	RelayKey       string `json:"relay_key"`
	ConnectionType string `json:"connection_type"`
}

type Pake

type Pake struct {
	Body []byte `json:"body"`
}

type Welcome

type Welcome struct {
	PakeMsg []byte `json:"pake_msg"`
}

Jump to

Keyboard shortcuts

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