Versions in this module Expand all Collapse all v0 v0.1.1 Aug 31, 2022 v0.1.0 Jul 4, 2022 Changes in this version + type Band struct + func NewBand(conn net.Conn, reader *fsock.Reader, writer *fsock.Writer) (band *Band) + func (band *Band) Close() + func (band *Band) ReadParseFrame() (kind protocol.FrameKind, data []byte, err error) + func (band *Band) TryLock() bool + func (band *Band) Unlock() + func (band *Band) WriteMarshalFrame(frame protocol.Frame) (nn int, err error) + type Cell struct + Reader *fsock.Reader + Writer *fsock.Writer + func NewCell(leash net.Conn, reader *fsock.Reader, writer *fsock.Writer, uuidString string, ...) (cell *Cell) + func (cell *Cell) Bind(band *Band, key string) (err error) + func (cell *Cell) HandleHTTP(res http.ResponseWriter, req *http.Request) + func (cell *Cell) Key() string + func (cell *Cell) Listen() + func (cell *Cell) ListenSig() + func (cell *Cell) MountFunc(pattern string, callback func(http.ResponseWriter, *http.Request)) (err error) + func (cell *Cell) Provide() (band *Band, err error) + func (cell *Cell) Prune() (pruned int) + func (cell *Cell) SendSig(sig Sig) + func (cell *Cell) Unmount() (err error) + func (cell *Cell) Uuid() string + type Sig int + const SigCleaning + const SigNeedBand