eventlog

package
v9.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLog

type EventLog struct {
	Client *req.Client
}

func (EventLog) ListAll

func (eventLog EventLog) ListAll(opts ...shared.PaginationParamsOption) ([]EventLogItem, error)

func (EventLog) ListFirstPage

func (eventLog EventLog) ListFirstPage(opts ...shared.PaginationParamsOption) (*shared.Page[EventLogItem], error)

func (EventLog) ListPageAfter

func (eventLog EventLog) ListPageAfter(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[EventLogItem], error)

func (EventLog) ListPageBefore

func (eventLog EventLog) ListPageBefore(id int64, opts ...shared.PaginationParamsOption) (*shared.Page[EventLogItem], error)

type EventLogItem

type EventLogItem struct {
	Id        int64          `json:"id"`
	Type      string         `json:"type"`
	Timestamp *time.Time     `json:"timestamp"`
	Data      map[string]any `json:"data"`
}

Jump to

Keyboard shortcuts

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