Documentation ¶
Index ¶
- Constants
- Variables
- type Destinationer
- type Entry
- type MapEntries
- type MapEntry
- type MapOfStringsEntries
- type MapOfStringsEntry
- type PageState
- func (s *PageState) AddAmount(n int64)
- func (s *PageState) Amount() int64
- func (s *PageState) DurationStart()
- func (s *PageState) DurationStop()
- func (p *PageState) Overview() string
- func (s *PageState) SetAmount(n int64)
- func (s *PageState) Status() string
- func (s *PageState) StatusAccept()
- func (s *PageState) StatusConfig()
- func (s *PageState) StatusCustomize(status string)
- func (s *PageState) StatusDone()
- func (s *PageState) StatusFinish()
- func (s *PageState) StatusScan()
- type ScoreMap
- type SliceEntries
- type SliceEntry
- type SliceOfStringsEntries
- type SliceOfStringsEntry
- type Sourceor
- type State
- func (s *State) AddAmount(n int64)
- func (s *State) Amount() int64
- func (s *State) DurationStart()
- func (s *State) DurationStop()
- func (s *State) Overview() string
- func (s *State) SetAmount(n int64)
- func (s *State) Status() string
- func (s *State) StatusAccept()
- func (s *State) StatusConfig()
- func (s *State) StatusCustomize(status string)
- func (s *State) StatusDone()
- func (s *State) StatusFinish()
- func (s *State) StatusScan()
- type Stater
- type Storage
- type TotalState
- func (s *TotalState) AddAmount(n int64)
- func (s *TotalState) Amount() int64
- func (s *TotalState) DurationStart()
- func (s *TotalState) DurationStop()
- func (t *TotalState) Overview() string
- func (s *TotalState) SetAmount(n int64)
- func (s *TotalState) Status() string
- func (s *TotalState) StatusAccept()
- func (s *TotalState) StatusConfig()
- func (s *TotalState) StatusCustomize(status string)
- func (s *TotalState) StatusDone()
- func (s *TotalState) StatusFinish()
- func (s *TotalState) StatusScan()
Constants ¶
View Source
const StatusAccept = "accept"
View Source
const StatusConfig = "config"
View Source
const StatusDone = "done"
View Source
const StatusFinish = "finish"
View Source
const StatusScan = "scan"
Variables ¶
View Source
var EOF = errors.New("EOF")
Functions ¶
This section is empty.
Types ¶
type Destinationer ¶
type Entry ¶
type Entry interface { SliceEntry | SliceOfStringsEntry | MapEntry | MapOfStringsEntry | ScoreMap | string }
type MapEntries ¶
type MapEntries = []MapEntry
type MapOfStringsEntries ¶
type MapOfStringsEntries = []MapOfStringsEntry
type MapOfStringsEntry ¶
type PageState ¶
type PageState struct { Page int64 PageSize int64 TotalPage int64 Total int64 // contains filtered or unexported fields }
PageState 分页状态
func NewPageState ¶
func NewPageState() *PageState
func (*PageState) DurationStart ¶
func (s *PageState) DurationStart()
func (*PageState) DurationStop ¶
func (s *PageState) DurationStop()
func (*PageState) StatusAccept ¶
func (s *PageState) StatusAccept()
func (*PageState) StatusConfig ¶
func (s *PageState) StatusConfig()
func (*PageState) StatusCustomize ¶
func (s *PageState) StatusCustomize(status string)
func (*PageState) StatusDone ¶
func (s *PageState) StatusDone()
func (*PageState) StatusFinish ¶
func (s *PageState) StatusFinish()
func (*PageState) StatusScan ¶
func (s *PageState) StatusScan()
type SliceEntries ¶
type SliceEntries = []SliceEntry
type SliceEntry ¶
type SliceEntry = []any
type SliceOfStringsEntries ¶
type SliceOfStringsEntries = []SliceOfStringsEntry
type SliceOfStringsEntry ¶
type SliceOfStringsEntry = []string
type State ¶
type State struct {
// contains filtered or unexported fields
}
State 状态
func (*State) DurationStart ¶
func (s *State) DurationStart()
func (*State) DurationStop ¶
func (s *State) DurationStop()
func (*State) StatusAccept ¶
func (s *State) StatusAccept()
func (*State) StatusConfig ¶
func (s *State) StatusConfig()
func (*State) StatusCustomize ¶
func (s *State) StatusCustomize(status string)
func (*State) StatusDone ¶
func (s *State) StatusDone()
func (*State) StatusFinish ¶
func (s *State) StatusFinish()
func (*State) StatusScan ¶
func (s *State) StatusScan()
type TotalState ¶
type TotalState struct { Total int64 // contains filtered or unexported fields }
TotalState 总数状态
func NewTotalState ¶
func NewTotalState() *TotalState
func (*TotalState) DurationStart ¶
func (s *TotalState) DurationStart()
func (*TotalState) DurationStop ¶
func (s *TotalState) DurationStop()
func (*TotalState) Overview ¶
func (t *TotalState) Overview() string
func (*TotalState) StatusAccept ¶
func (s *TotalState) StatusAccept()
func (*TotalState) StatusConfig ¶
func (s *TotalState) StatusConfig()
func (*TotalState) StatusCustomize ¶
func (s *TotalState) StatusCustomize(status string)
func (*TotalState) StatusDone ¶
func (s *TotalState) StatusDone()
func (*TotalState) StatusFinish ¶
func (s *TotalState) StatusFinish()
func (*TotalState) StatusScan ¶
func (s *TotalState) StatusScan()
Click to show internal directories.
Click to hide internal directories.