logics

package
v3.0.8-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostSnap

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

HostSnap define HostSnap

func NewHostSnap

func NewHostSnap(chanName string, maxSize int, redisCli, snapCli *redis.Client) *HostSnap

NewHostSnap returns new hostsnap object

chanName: redis channel name,maxSize: max buffer cache, redisCli: CC redis cli, snapCli: snap redis cli

func (*HostSnap) Run

func (h *HostSnap) Run()

Run hostsnap main functionality

func (*HostSnap) Start

func (h *HostSnap) Start()

Start start main handle routines

Jump to

Keyboard shortcuts

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