Documentation ¶
Index ¶
- type Handler
- type HandlerArgs
- type Logger
- func (l *Logger) CloseConnection() error
- func (l *Logger) Connect(database string) error
- func (l *Logger) DeleteInstanceLogs(instance string) error
- func (l *Logger) LoggerFunc(namespace, instance string) (dlog.Logger, error)
- func (l *Logger) QueryLogs(ctx context.Context, instance string, limit, offset int) (dlog.QueryReponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(args *HandlerArgs) (*Handler, error)
type HandlerArgs ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) CloseConnection ¶
func (*Logger) DeleteInstanceLogs ¶
func (*Logger) LoggerFunc ¶
Click to show internal directories.
Click to hide internal directories.