logentry_controllers

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogEntryController

type ILogEntryController interface {
	CreateLogEntry(ctx echo.Context) error
	DeleteLogEntries(ctx echo.Context) error
	GetApplicationNames(ctx echo.Context) error
	GetLogEntries(ctx echo.Context) error
	GetLogEntry(ctx echo.Context) error
}

type LogEntryController

type LogEntryController struct {
	Logger          *logrus.Entry
	LogEntryService logentry_services.ILogEntryService
	PageSize        int
}

func NewLogEntryController

func NewLogEntryController(config LogEntryControllerConfig) LogEntryController

func (LogEntryController) CreateLogEntry

func (c LogEntryController) CreateLogEntry(ctx echo.Context) error

func (LogEntryController) DeleteLogEntries

func (c LogEntryController) DeleteLogEntries(ctx echo.Context) error

func (LogEntryController) GetApplicationNames

func (c LogEntryController) GetApplicationNames(ctx echo.Context) error

func (LogEntryController) GetLogEntries

func (c LogEntryController) GetLogEntries(ctx echo.Context) error

func (LogEntryController) GetLogEntry

func (c LogEntryController) GetLogEntry(ctx echo.Context) error

type LogEntryControllerConfig

type LogEntryControllerConfig struct {
	Logger          *logrus.Entry
	LogEntryService logentry_services.ILogEntryService
	PageSize        int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL