Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyStreamName = errors.New("kinesis stream name can't be empty") ErrEmptySession = errors.New("kinesis session can't be nil") )
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher holds the kinesis connection and the stream name.
func NewPublisher ¶
func NewPublisher(ctx context.Context, cfg SessionConfig) (*Publisher, error)
NewPublisher creates a new kinesis connection.
Click to show internal directories.
Click to hide internal directories.