-
Notifications
You must be signed in to change notification settings - Fork 4
/
vocabulary.go
45 lines (42 loc) · 1.25 KB
/
vocabulary.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package activitypub
// https://www.w3.org/TR/activitystreams-vocabulary/
const (
FollowType = "Follow"
AcceptType = "Accept"
RejectType = "Reject"
UndoType = "Undo"
AddType = "Add"
AnnounceType = "Announce"
ArriveType = "Arrive"
BlockType = "Block"
CreateType = "Create"
DeleteType = "Delete"
DislikeType = "Dislike"
FlagType = "Flag"
IgnoreType = "Ignore"
InviteType = "Invite"
JoinType = "Join"
LeaveType = "Leave"
LikeType = "Like"
ListenType = "Listen"
MoveType = "Move"
OfferType = "Offer"
QuestionType = "Question"
ReadType = "Read"
RemoveType = "Remove"
TentativeRejectType = "TentativeReject"
TentativeAcceptType = "TentativeAccept"
TravelType = "Travel"
UpdateType = "Update"
ViewType = "View"
NoteType = "Note"
)
// Actor https://www.w3.org/TR/activitystreams-vocabulary/#actor-types.
const (
ApplicationType = "Application"
GroupType = "Group"
OrganizationType = "Organization"
PersonType = "Person"
ServiceType = "Service"
ChannelType = "Channel"
)