Documentation
¶
Index ¶
Constants ¶
View Source
const ( InteractionLike int = 0 InteractionReply int = 1 InteractionAnnounce int = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InteractionRequest ¶
type InteractionRequest struct { ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` StatusID string `bun:"type:CHAR(26),nullzero,notnull"` TargetAccountID string `bun:"type:CHAR(26),nullzero,notnull"` InteractingAccountID string `bun:"type:CHAR(26),nullzero,notnull"` InteractionURI string `bun:",nullzero,notnull,unique"` InteractionType int `bun:",notnull"` AcceptedAt time.Time `bun:"type:timestamptz,nullzero"` RejectedAt time.Time `bun:"type:timestamptz,nullzero"` URI string `bun:",nullzero,unique"` }
Click to show internal directories.
Click to hide internal directories.