test

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection() *Connection

func (*Connection) Close

func (con *Connection) Close() error

func (*Connection) Connect

func (con *Connection) Connect() (seras.Stream, error)

func (*Connection) Name

func (con *Connection) Name() string

func (*Connection) Send

func (con *Connection) Send(msg seras.Message) error

func (*Connection) Server

func (con *Connection) Server() string

func (*Connection) SetName

func (con *Connection) SetName(s string)

Jump to

Keyboard shortcuts

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