Documentation ¶
Index ¶
- Constants
- type TicBuilder
- func (self *TicBuilder) AddPath(path string)
- func (self *TicBuilder) AddSeenby(addr string)
- func (self TicBuilder) Build() string
- func (self *TicBuilder) SetArea(areaName string)
- func (self *TicBuilder) SetCrc(crc string)
- func (self *TicBuilder) SetDate(time time.Time)
- func (self *TicBuilder) SetDesc(desc string)
- func (self *TicBuilder) SetFile(filename string)
- func (self *TicBuilder) SetFrom(from string)
- func (self *TicBuilder) SetLDesc(ldesc string)
- func (self *TicBuilder) SetOrigin(origin string)
- func (self *TicBuilder) SetPw(passwd string)
- func (self *TicBuilder) SetSize(size int64)
- func (self *TicBuilder) SetTo(to string)
- type TicFile
- func (self *TicFile) GetArea() string
- func (self *TicFile) GetDesc() string
- func (self *TicFile) GetFile() string
- func (self *TicFile) GetLFile() string
- func (self *TicFile) GetUnixTime() int64
- func (self *TicFile) SetArea(area string)
- func (self *TicFile) SetDesc(desc string)
- func (self *TicFile) SetFile(file string)
- func (self *TicFile) SetLFile(value string)
- func (self *TicFile) SetPw(pw string)
- func (self *TicFile) SetUnixTime(unixTime int64)
- type TicParser
- type TicParserHandler
- type Tracker
- type TrackerManager
Constants ¶
View Source
const (
CRLF = "\x0D\x0A"
)
View Source
const TRACKER_MANAGER_ID = "TrackerManager"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TicBuilder ¶
type TicBuilder struct {
// contains filtered or unexported fields
}
func NewTicBuilder ¶
func NewTicBuilder() *TicBuilder
func (*TicBuilder) AddPath ¶
func (self *TicBuilder) AddPath(path string)
func (*TicBuilder) AddSeenby ¶
func (self *TicBuilder) AddSeenby(addr string)
func (TicBuilder) Build ¶
func (self TicBuilder) Build() string
func (*TicBuilder) SetArea ¶
func (self *TicBuilder) SetArea(areaName string)
func (*TicBuilder) SetCrc ¶
func (self *TicBuilder) SetCrc(crc string)
func (*TicBuilder) SetDate ¶
func (self *TicBuilder) SetDate(time time.Time)
func (*TicBuilder) SetDesc ¶
func (self *TicBuilder) SetDesc(desc string)
func (*TicBuilder) SetFile ¶
func (self *TicBuilder) SetFile(filename string)
func (*TicBuilder) SetFrom ¶
func (self *TicBuilder) SetFrom(from string)
func (*TicBuilder) SetLDesc ¶
func (self *TicBuilder) SetLDesc(ldesc string)
/ SetLDesc add long description
func (*TicBuilder) SetOrigin ¶
func (self *TicBuilder) SetOrigin(origin string)
func (*TicBuilder) SetPw ¶
func (self *TicBuilder) SetPw(passwd string)
func (*TicBuilder) SetSize ¶
func (self *TicBuilder) SetSize(size int64)
func (*TicBuilder) SetTo ¶
func (self *TicBuilder) SetTo(to string)
type TicFile ¶
type TicFile struct {
// contains filtered or unexported fields
}
func NewTicFile ¶
func NewTicFile() *TicFile
func (*TicFile) GetUnixTime ¶
func (*TicFile) SetUnixTime ¶
type TicParser ¶
type TicParser struct {
// contains filtered or unexported fields
}
func NewTicParser ¶
type TicParserHandler ¶
type TicParserHandler func(string)
type TrackerManager ¶
type TrackerManager struct {
// contains filtered or unexported fields
}
func NewTrackerManager ¶
func NewTrackerManager(r *registry.Container) *TrackerManager
func RestoreTrackerManager ¶
func RestoreTrackerManager(r *registry.Container) *TrackerManager
func (*TrackerManager) HandleEvent ¶
func (self *TrackerManager) HandleEvent(event string)
func (TrackerManager) Start ¶
func (self TrackerManager) Start()
Click to show internal directories.
Click to hide internal directories.