isolation

package
v0.0.0-...-b66d68a Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitIsolationSet

func InitIsolationSet()

functions for IsolationSet

func SetIsolation

func SetIsolation(keyword string, ProducerConfig map[string]interface{}, ConsumerConfig map[string]interface{})

Types

type Isolation

type Isolation struct {
	// contains filtered or unexported fields
}

func (*Isolation) Consume

func (T *Isolation) Consume(topic string, ch chan *kafka.Message)

func (*Isolation) ProduceAsync

func (T *Isolation) ProduceAsync(topic string, message []byte)

functions for Isolation

func (*Isolation) String

func (T *Isolation) String() string

type Set

type Set struct {
	// contains filtered or unexported fields
}

Set for Isolation

var IsolationSet Set

all isolation

func (*Set) GetIsolation

func (T *Set) GetIsolation(keyword string) (*Isolation, error)

func (*Set) String

func (T *Set) String() string

Jump to

Keyboard shortcuts

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