interfaces

package
v2.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MelodySession

type MelodySession interface {
	MelodyWriter
	Close() error
	CloseWithMsg(msg []byte) error
	Get(key string) (value interface{}, exists bool)
	IsClosed() bool
	MustGet(key string) interface{}
	Set(key string, value interface{})
	WriteBinary(msg []byte) error
}

type MelodyWriter

type MelodyWriter interface {
	Write(msg []byte) error
}

Jump to

Keyboard shortcuts

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