client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 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 any) (ok bool)                      //call send
	SendJsonWithHead(head string, objectPtr any) (ok bool) //call send
	SendWithHead(head, body *stream.Stream) (ok bool)      //call send
	Send(s *stream.Stream) (ok bool)
	Receive() *stream.Stream
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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