client

package
v0.0.0-...-427f216 Latest Latest
Warning

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

Go to latest
Published: May 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IpsscSend

func IpsscSend(header string, body interface{}) (gjson.Result, error)

func Send

func Send(client Client) ([]byte, error)

Types

type Client

type Client interface {
	Address() string
	Command() []byte
}

type Ipssc

type Ipssc struct {
	Header string      `json:"cmd_header"`
	Body   interface{} `json:"cmd_body"`
}

func (Ipssc) Address

func (i Ipssc) Address() string

func (Ipssc) Command

func (i Ipssc) Command() []byte

Jump to

Keyboard shortcuts

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