Documentation ¶ Index ¶ type Log type LogEntry type Logger type QueryReponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Log ¶ type Log interface { LoggerFunc(namespace, instance string) (Logger, error) QueryLogs(ctx context.Context, instance string, limit, offset int) (QueryReponse, error) DeleteInstanceLogs(instance string) error } type LogEntry ¶ type LogEntry struct { Level string `json:"lvl"` Timestamp int64 `json:"time"` Message string `json:"msg"` Context map[string]string `json:"ctx"` } type Logger ¶ type Logger interface { log15.Logger io.Closer } type QueryReponse ¶ type QueryReponse struct { Count int `json:"count"` Limit int `json:"limit,omitempty"` Offset int `json:"offset"` // Data []map[string]interface{} `json:"data"` Logs []LogEntry `json:"data"` } Source Files ¶ View all Source files common.go Directories ¶ Show internal Expand all Path Synopsis db dummy Click to show internal directories. Click to hide internal directories.