client

package
v0.0.0-...-845418e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const BACKLOG_MAX_SIZE = 1000000
View Source
const FINAL_SYNC_BUFFER_SIZE = 1000
View Source
const READDIR_BUFFER_SIZE = 1000

Variables

This section is empty.

Functions

func ExtractCategoryName

func ExtractCategoryName(baseDir, absolutePath string) string

func ReadDirIntoChannel

func ReadDirIntoChannel(baseDir string, events chan fsnotify.Event, iterateSubDir bool) error

Types

type Client

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

func NewClient

func NewClient(config *lsdProto.LsdConfigClientConfigT, trafficManager *traffic.Manager) (*Client, error)

func (*Client) Start

func (c *Client) Start()

func (*Client) Stop

func (c *Client) Stop()

type NetworkRouter

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

func NewNetworkRouter

func NewNetworkRouter(offsetsDb *offsets.Db, trafficManager *traffic.Manager, config *lsdProto.LsdConfigClientConfigT) (*NetworkRouter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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