logic

package
v0.0.0-...-d32565a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 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 EventLogCommandSet

type EventLogCommandSet struct {
	ccmd.CommandSet
	// contains filtered or unexported fields
}

func NewEventLogCommandSet

func NewEventLogCommandSet(controller IEventLogController) *EventLogCommandSet

type EventLogController

type EventLogController struct {
	// contains filtered or unexported fields
}

func NewEventLogController

func NewEventLogController() *EventLogController

func (*EventLogController) Configure

func (c *EventLogController) Configure(config *cconf.ConfigParams)

func (*EventLogController) GetCommandSet

func (c *EventLogController) GetCommandSet() *ccomand.CommandSet

func (*EventLogController) GetEvents

func (c *EventLogController) GetEvents(correlationId string, filter *cdata.FilterParams,
	paging *cdata.PagingParams) (*data1.SystemEventV1DataPage, error)

func (*EventLogController) LogEvent

func (c *EventLogController) LogEvent(correlationId string, event *data1.SystemEventV1) error

func (*EventLogController) SetReferences

func (c *EventLogController) SetReferences(references cref.IReferences)

type IEventLogController

type IEventLogController interface {
	GetEvents(correlationId string, filter *cdata.FilterParams,
		paging *cdata.PagingParams) (page *data1.SystemEventV1DataPage, err error)

	LogEvent(correlationId string, event *data1.SystemEventV1) error
}

Jump to

Keyboard shortcuts

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