option

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	AccessKey string
	SecretKey string
}

type Consumer

type Consumer struct {
	Id             string
	BroadCastModel bool
	BatchSize      int
	Auth           *Auth
}

type ConsumerFunc

type ConsumerFunc func(*Consumer)

func ConsumerWithAuth

func ConsumerWithAuth(auth *Auth) ConsumerFunc

func ConsumerWithBatchSize

func ConsumerWithBatchSize(batchSize int) ConsumerFunc

func ConsumerWithBroadCastModel

func ConsumerWithBroadCastModel(broadCastModel bool) ConsumerFunc

func ConsumerWithId

func ConsumerWithId(id string) ConsumerFunc

type Producer

type Producer struct {
	Auth *Auth
}

type ProducerFunc

type ProducerFunc func(*Producer)

func ProducerWithAuth

func ProducerWithAuth(auth *Auth) ProducerFunc

Jump to

Keyboard shortcuts

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