table

package
v0.0.0-...-130f5e9 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TopicConfigTable

type TopicConfigTable struct {
	TopicConfigs map[string]*stgcommon.TopicConfig `json:"TopicConfigTable"`
	sync.RWMutex `json:"-"`
}

func NewTopicConfigTable

func NewTopicConfigTable() *TopicConfigTable

func (*TopicConfigTable) Foreach

func (table *TopicConfigTable) Foreach(fn func(k string, v *stgcommon.TopicConfig))

func (*TopicConfigTable) Get

func (*TopicConfigTable) Put

func (*TopicConfigTable) Remove

func (table *TopicConfigTable) Remove(k string) *stgcommon.TopicConfig

func (*TopicConfigTable) Size

func (table *TopicConfigTable) Size() int

Jump to

Keyboard shortcuts

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