Documentation ¶
Index ¶
Constants ¶
View Source
const MaxMessageSize = 48 * 1024
Max length of log messages. Size chosen to fit within a UDP packet (max size 64k) and reserve space for Syslog event headers. The message itself always includes a newline terminator as well.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddEventInput ¶
type AddEventOutput ¶
type AddEventOutput struct { }
type ClearEventsInput ¶
type ClearEventsInput struct {
Streams []string `json:"streams"`
}
type ClearEventsOutput ¶
type ClearEventsOutput struct { }
type DescribeStreamsInput ¶
type DescribeStreamsInput struct {
Names []string `json:"names"`
}
type DescribeStreamsOutput ¶
type DescribeStreamsOutput struct {
Streams []StreamDescription `json:"streams"`
}
type GetEventsInput ¶
type GetEventsOutput ¶
type RemoveOldEventsInput ¶
type RemoveOldEventsInput struct { }
type RemoveOldEventsOutput ¶
type RemoveOldEventsOutput struct { }
type Store ¶
type Store interface { ClearEvents(context.Context, *ClearEventsInput) (*ClearEventsOutput, error) DescribeStreams(context.Context, *DescribeStreamsInput) (*DescribeStreamsOutput, error) AddEvent(context.Context, *AddEventInput) (*AddEventOutput, error) // Returns pages of events for some set of streams. If `cursor` is specified, standard pagination behavior is used. Otherwise the cursor is assumed to represent the current tail of the stream. GetEvents(context.Context, *GetEventsInput) (*GetEventsOutput, error) RemoveOldEvents(context.Context, *RemoveOldEventsInput) (*RemoveOldEventsOutput, error) }
Database of events organized into streams.
type StreamDescription ¶
Click to show internal directories.
Click to hide internal directories.