systemevent

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetForAddressHttpHandler

func NewGetForAddressHttpHandler(db *store.Store, c *client.Client) *getForAddressHttpHandler

func NewGetForAddressUseCase

func NewGetForAddressUseCase(db *store.Store) *getForAddressUseCase

Types

type GetForAddressRequest

type GetForAddressRequest struct {
	Address string                 `uri:"address" binding:"required"`
	After   *int64                 `form:"after" binding:"-"`
	Kind    *model.SystemEventKind `form:"kind" binding:"-"`
}

type ListItem

type ListItem struct {
	*model.Model

	Height int64       `json:"height"`
	Time   types.Time  `json:"time"`
	Actor  string      `json:"actor"`
	Kind   string      `json:"kind"`
	Data   types.Jsonb `json:"data"`
}

type ListView

type ListView struct {
	Items []ListItem `json:"items"`
}

func ToListView

func ToListView(validators []model.SystemEvent) *ListView

Jump to

Keyboard shortcuts

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