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)
Click to show internal directories.
Click to hide internal directories.