topic

package
Version: v0.0.0-...-8817f42 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorNoFind = errors.New("No Find")
)

Functions

This section is empty.

Types

type ServerChannel

type ServerChannel struct {
	Lock  sync.Mutex
	Class types.Classifer
	Ids   types.Indexes
	Pfs   *os.File
	Dir   string
	Sel   packext.Selector
}

func NewServerByteChannels

func NewServerByteChannels(dir string) (m []*ServerChannel, err error)

func NewServerChannel

func NewServerChannel(dir string, c types.Classifer) (m *ServerChannel, err error)

func (*ServerChannel) Close

func (m *ServerChannel) Close()

func (*ServerChannel) GetByHash

func (m *ServerChannel) GetByHash(h types.Hash) (raw []byte, err error)

func (*ServerChannel) GetSepcial

func (m *ServerChannel) GetSepcial(h *packext.HeaderExt) (raw []byte, err error)

Source Files

Jump to

Keyboard shortcuts

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