client

package
v0.0.0-...-9abeaa0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = New()

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Connect(address string) bool
	SendJson(objectPtr interface{}) (ok bool)                      //call send
	SendJsonWithHead(head string, objectPtr interface{}) (ok bool) //call send
	SendWithHead(head, body stream.Interface) (ok bool)            //call send
	Send(s stream.Interface) (ok bool)
	Receive() stream.Interface
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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