Documentation
¶
Index ¶
- Constants
- Variables
- type Builder
- func (b *Builder[T]) Build() (*Event[T], error)
- func (b *Builder[T]) ID(id ID) *Builder[T]
- func (b *Builder[T]) MustBuild() *Event[T]
- func (b *Builder[T]) NewID() *Builder[T]
- func (b *Builder[T]) Object(o T) *Builder[T]
- func (b *Builder[T]) Operator(o operator.Operator) *Builder[T]
- func (b *Builder[T]) Project(prj *Project) *Builder[T]
- func (b *Builder[T]) Timestamp(t time.Time) *Builder[T]
- func (b *Builder[T]) Type(t Type) *Builder[T]
- type Event
- type ID
- type IntegrationID
- type List
- type Project
- type Type
- type UserID
Constants ¶
View Source
const ( ItemCreate = "item.create" ItemUpdate = "item.update" ItemDelete = "item.delete" ItemPublish = "item.publish" ItemUnpublish = "item.unpublish" AssetCreate = "asset.create" AssetDecompress = "asset.decompress" AssetDelete = "asset.delete" )
Variables ¶
View Source
var ErrInvalidID = id.ErrInvalidID
View Source
var IDFrom = id.EventIDFrom
View Source
var IDFromRef = id.EventIDFromRef
View Source
var MustID = id.MustEventID
View Source
var NewID = id.NewEventID
Functions ¶
This section is empty.
Types ¶
type IntegrationID ¶
type IntegrationID = id.IntegrationID
type UserID ¶
type UserID = accountdomain.UserID
Click to show internal directories.
Click to hide internal directories.