Documentation ¶
Index ¶
- Constants
- Variables
- func AddByDomain[C CtClient](domain string, def DefaultCTClient[C], clients *CTClients[C], null func() C) (C, int, error)
- func DelByDomain[C CtClient](domain string, clients *CTClients[C], null func() C) (C, int, error)
- func SelectByDomain[C CtClient](domain string, clients *CTClients[C], null func() C) (C, int, error)
- type CTClients
- type CTStream
- type CTsStream
- type Callback
- type CtClient
- type CtStream
- type DefaultCTClient
- type LogID
- type PararellCTsStream
- func (stream PararellCTsStream[T]) Await()
- func (stream *PararellCTsStream[T]) Init() error
- func (stream *PararellCTsStream[T]) Next(callback Callback)
- func (stream *PararellCTsStream[T]) Run(callback Callback)
- func (stream *PararellCTsStream[T]) Start(callback Callback)
- func (stream *PararellCTsStream[T]) Stop()
Constants ¶
View Source
const ERROR_NOT_FOUND = "not found"
Variables ¶
View Source
var DefaultEpochSleep = time.Minute * 20
View Source
var DefaultMaxEntries int64 = 256
View Source
var DefaultPullingSleep = time.Second * 10
Functions ¶
func AddByDomain ¶ added in v0.0.33
func DelByDomain ¶ added in v0.0.33
Types ¶
type CTClients ¶ added in v0.0.36
func NewCTClients ¶ added in v0.0.36
type CTStream ¶
type CTStream[T CtClient] struct { Client T Sleep time.Duration Ctx context.Context Wg sync.WaitGroup // contains filtered or unexported fields }
func NewCTStream ¶
type CTsStream ¶
type CTsStream[T CtStream] PararellCTsStream[T]
type DefaultCTClient ¶ added in v0.0.36
type PararellCTsStream ¶ added in v0.0.24
func NewPararellCTsStream ¶ added in v0.0.24
func NewPararellCTsStream[T CtStream](streams []T, sleep time.Duration) (*PararellCTsStream[T], error)
func (PararellCTsStream[T]) Await ¶ added in v0.0.24
func (stream PararellCTsStream[T]) Await()
func (*PararellCTsStream[T]) Init ¶ added in v0.0.24
func (stream *PararellCTsStream[T]) Init() error
func (*PararellCTsStream[T]) Next ¶ added in v0.0.24
func (stream *PararellCTsStream[T]) Next(callback Callback)
func (*PararellCTsStream[T]) Run ¶ added in v0.0.24
func (stream *PararellCTsStream[T]) Run(callback Callback)
func (*PararellCTsStream[T]) Start ¶ added in v0.0.24
func (stream *PararellCTsStream[T]) Start(callback Callback)
func (*PararellCTsStream[T]) Stop ¶ added in v0.0.24
func (stream *PararellCTsStream[T]) Stop()
Click to show internal directories.
Click to hide internal directories.