client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: Apache-2.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 Consumer

type Consumer struct {
	Funs map[string]func(*[]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Consumer) Deal

func (c *Consumer) Deal(p Params, ret *[]byte) error

func (*Consumer) GetIndex

func (c *Consumer) GetIndex(_ Params, ret *[]byte) error

type Index

type Index struct {
	Index []string
}

type Params

type Params struct {
	FunName string
	Data    *[]byte
}

type Producer

type Producer struct {
	Addr string
	Port uint
}

Jump to

Keyboard shortcuts

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