Documentation ¶
Index ¶
- func Outdate(outdaters []Outdater, delay time.Duration, stopChan <-chan struct{})
- type LinkRep
- func (lr *LinkRep) Count() int
- func (lr *LinkRep) Read(id string, r *http.Request, closeChan <-chan struct{}) (ptpData *model.PtpData, ok bool)
- func (lr *LinkRep) WaiterCount() (cnt int)
- func (lr *LinkRep) Write(id string, linkData *model.LinkData, wSecret string, closeChan <-chan struct{}) (meta *model.Meta, ok bool, auth bool)
- type McastRep
- func (mr *McastRep) DataCount() (size int)
- func (mr *McastRep) GetData(id string, seqId int) (data *model.TeeData, ok bool)
- func (mr *McastRep) Read(id string, wantedSeqId int, cancelChan <-chan struct{}) (data *model.TeeData, seqId int, ok bool)
- func (mr *McastRep) Size() (size int)
- func (mr *McastRep) WaiterCount() (size int)
- func (mr *McastRep) Write(id string, data *model.TeeData, wSecret string) (seqId int, ok bool)
- type McastSeqMap
- type Outdater
- type ProxyRep
- type SyncRep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LinkRep ¶
func NewLinkRep ¶
func NewLinkRep(stopChan <-chan struct{}) *LinkRep
func (*LinkRep) WaiterCount ¶
type McastRep ¶
type McastRep struct { McastSeqMap sync.RWMutex // contains filtered or unexported fields }
func NewMcastRep ¶
func NewMcastRep(stopChan <-chan struct{}) *McastRep
func (*McastRep) WaiterCount ¶
type McastSeqMap ¶
type ProxyRep ¶
type ProxyRep struct {
// contains filtered or unexported fields
}
func NewProxyRep ¶
func NewProxyRep() *ProxyRep
Click to show internal directories.
Click to hide internal directories.