feed

package
v0.0.0-...-2873e01 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceActivity

func ResourceActivity() *resourceActivity

Types

type ActivityLog

type ActivityLog struct {
	ID             uint64         `json:"activityID,string"`
	ResourceID     uint64         `json:"resourceID,string"`
	ResourceType   string         `json:"resourceType"`
	ResourceAction string         `json:"resourceAction"`
	Timestamp      time.Time      `json:"timestamp"`
	Meta           types.JSONText `json:"meta"`
}

type Filter

type Filter struct {
	Limit    uint                 `json:"limit"`
	NextPage *filter.PagingCursor `json:"nextPage"`
}

type Response

type Response struct {
	Filter       Filter        `json:"filter"`
	ActivityLogs []ActivityLog `json:"activityLogs"`
}

Jump to

Keyboard shortcuts

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