Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCLI ¶
type ClientCLI struct{}
ClientCLI gathers the event-related client actions available at the command line.
func (*ClientCLI) DoAck ¶
DoAck consumes a message whose owner, timestamp and ID are described on the command line. FIXME(jfsmig): no retry is performed upon error
func (*ClientCLI) DoList ¶
func (cfg *ClientCLI) DoList(ctx context.Context, UserID string, when uint64, marker string, max uint32) error
DoList dumps to os.Stdout the Event objects streamed by the contacted service. The output consists in a JSON stream of objects separated by a CRLF (i.e. one object per line) FIXME(jfsmig): no retry is performed upon error
Click to show internal directories.
Click to hide internal directories.