Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultTimeSource ¶
type DefaultTimeSource struct{}
func (DefaultTimeSource) GetCurrentTimestamp ¶
func (DefaultTimeSource) GetCurrentTimestamp() time.Time
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func NewProcessor(token string, encodingAESKey string, opts ...ProcessorOption) (*Processor, error)
func (*Processor) HandleIncomingMsg ¶
type ProcessorOption ¶
type ProcessorOption interface {
// contains filtered or unexported methods
}
func WithEntropySource ¶
func WithEntropySource(e io.Reader) ProcessorOption
func WithTimeSource ¶
func WithTimeSource(t TimeSource) ProcessorOption
type TimeSource ¶
Click to show internal directories.
Click to hide internal directories.