client

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: Apache-2.0 Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlaitClient

type SlaitClient struct {
	Endpoint string
}

func (*SlaitClient) DeletePartition

func (sc *SlaitClient) DeletePartition(topic, partition string) error

delete a partition

func (*SlaitClient) GetPartition

func (sc *SlaitClient) GetPartition(topic, partition string, from, to *time.Time, last int) (*rest.PartitionRequestResponse, error)

func (*SlaitClient) PostTopic

func (sc *SlaitClient) PostTopic(tr rest.TopicsRequest) (err error)

used for setting up the structure

func (*SlaitClient) PutPartition

func (sc *SlaitClient) PutPartition(topic, partition string, data []byte) error

used for delivering the data

Jump to

Keyboard shortcuts

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