group

package
v0.0.0-...-a530360 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

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

Commit 批处理

func NewCommit

func NewCommit(batchSize int, duration time.Duration, handler handler) *Commit

func (*Commit) Done

func (c *Commit) Done()

func (*Commit) Push

func (c *Commit) Push(k, v interface{})

type Container

type Container struct {
	sync.Mutex
	// contains filtered or unexported fields
}

container 数据容器

Jump to

Keyboard shortcuts

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