Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davecheney/pub
/ types & classes
Types & classes
121 in github.com/davecheney/pub
⨍
Functions
422
◇
Types & classes
121
↓ 3 callers
TypeAlias
ID
ID is a Mastodon compatible Snowflake ID. TODO use ID type instead of uint64 in the codebase.
internal/snowflake/id.go:11
↓ 2 callers
TypeAlias
BoolOrBit
BoolOrBit is a type that can be unmarshalled from a JSON boolean or a JSON string iOS Ivory v13102+ sends "status": "1" or "status": "0" instead of "s
mastodon/types.go:12
↓ 2 callers
TypeAlias
PushSubscriptionPolicy
models/pushsubscription.go:25
↓ 2 callers
TypeAlias
TokenType
models/token.go:26
↓ 2 callers
TypeAlias
Visibility
models/status.go:219
↓ 1 callers
TypeAlias
ActorType
models/actor.go:69
↓ 1 callers
TypeAlias
muxContextKey
internal/streaming/streaming.go:10
Struct
Account
An Account is a user account on an Instance. An Account belongs to an Actor. An Account belongs to an Instance.
models/account.go:16
Struct
Account
mastodon/serialisers.go:23
Struct
AccountList
models/account.go:71
Struct
AccountListMember
models/account.go:79
Struct
AccountMarker
models/account.go:85
Struct
AccountPreferences
models/account.go:166
Struct
AccountRole
models/account.go:60
Struct
Accounts
models/account.go:95
Struct
Acct
internal/webfinger/webfinger.go:34
Struct
Activity
Activity is an ActivityStreams Activity. https://www.w3.org/TR/activitystreams-core/#activities
activitypub/objects.go:92
Struct
ActivitypubOutboxRequest
ActivitypubOutboxRequest is a record of a request to send a status to an actor on a remote server.
models/activitypub.go:20
Struct
ActivitypubRefresh
activitypub support tables ActivitypubRefresh is a record of a request to refresh a URI.
models/activitypub.go:8
Struct
Actor
models/actor.go:16
Struct
ActorAttachment
models/object.go:99
Struct
ActorObject
models/actor.go:29
Struct
ActorRefreshRequest
ActorRefreshRequest is a request to refresh an actor's data.
models/actor.go:305
Struct
Actors
models/actor.go:227
Struct
Alerts
mastodon/serialisers.go:673
Struct
Application
An Application is a registered client application. An Application belongs to an Instance.
models/application.go:7
Struct
Application
mastodon/serialisers.go:414
Struct
Attachment
activitypub/objects.go:30
Struct
Attachment
models/attachments.go:9
TypeAlias
AttachmentFocalPoint
models/status.go:82
Struct
AutoMigrateCmd
automigrate.go:8
Struct
Client
Client is an ActivityPub client which can be used to fetch remote ActivityPub resources.
internal/activitypub/client.go:32
Struct
Collection
activitypub/objects.go:85
Struct
Context
main.go:16
Struct
Conversation
A Conversation is a collection of related statuses. It is a way to group together statuses that are replies to each other, or that are part of the sam
models/status.go:212
Struct
CreateAccountCmd
createaccount.go:8
Struct
CreateInstanceCmd
createinstance.go:8
Struct
CredentialAccount
mastodon/serialisers.go:54
Struct
DeleteAccountCmd
deleteaccount.go:8
Struct
Env
activitypub/activitypub.go:23
Struct
Env
models/env.go:8
Struct
Env
mastodon/mastodon.go:20
Struct
FamiliarFollowers
mastodon/serialisers.go:661
Struct
FetchActorCmd
fetchactor.go:12
Struct
Field
mastodon/serialisers.go:48
Struct
FocalPoint
models/attachments.go:20
Struct
FollowCmd
follow.go:12
Struct
HashTag
HashTag is an ActivityStreams Hashtag
activitypub/objects.go:17
Struct
HouseKeepingCmd
housekeeping.go:9
Struct
Image
Image is an ActivityStreams Image
activitypub/objects.go:24
Struct
InboxController
activitypub/inbox.go:27
Struct
Instance
An Instance is an ActivityPub domain managed by this server. An Instance has many InstanceRules. An Instance has one Admin Account.
models/instance.go:15
Struct
InstanceRule
models/instance.go:32
Struct
Instances
models/instance.go:38
Struct
Item
activitypub/outbox.go:87
Struct
Keypair
KeyPair represents a public/private keypair in PEM format.
internal/crypto/crypto.go:13
Struct
Link
internal/webfinger/webfinger.go:27
Struct
List
mastodon/serialisers.go:400
Struct
Marker
https://docs.joinmastodon.org/entities/Marker/
mastodon/serialisers.go:386
Struct
MediaAttachment
mastodon/serialisers.go:341
Struct
Mention
Mention represents a mention of a user in the context of a status. https://docs.joinmastodon.org/entities/Status/#Mention
mastodon/serialisers.go:438
Struct
Meta
mastodon/serialisers.go:354
Struct
MetaFocus
mastodon/serialisers.go:370
Struct
MetaFormat
mastodon/serialisers.go:375
Struct
Mux
internal/streaming/streaming.go:14
Struct
Object
Object is an ActivityPub Object. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object
activitypub/objects.go:11
Struct
Object
Object represents an ActivityPub object.
models/object.go:18
Struct
Option
activitypub/objects.go:79
Struct
OrderedCollection
synchronisefollowers.go:15
Struct
OrderedCollectionPage
synchronisefollowers.go:21
Struct
Payload
internal/streaming/streaming.go:5
Struct
Peer
models/peers.go:3
Struct
Poll
https://docs.joinmastodon.org/entities/Poll/
mastodon/serialisers.go:454
Struct
PollOption
mastodon/serialisers.go:467
Struct
Preferences
mastodon/serialisers.go:643
Struct
PushSubscription
models/pushsubscription.go:9
Struct
Reaction
Reaction represents an an actors reaction to a status.
models/reaction.go:14
Struct
ReactionRequest
A ReactionRequest is a request to update the reaction to a status. ReactionRequests are created by hooks on the Reaction model, and are processed by t
models/reaction.go:89
TypeAlias
ReactionRequestAction
models/reaction.go:103
Struct
Reactions
models/reaction.go:116
Struct
Relationship
models/relationship.go:12
Struct
Relationship
mastodon/serialisers.go:156
Struct
RelationshipRequest
A RelationshipRequest records a request to follow or unfollow an actor. RelationshipRequests are created by hooks on the Relationship model, and are p
models/relationship.go:103
TypeAlias
RelationshipRequestAction
models/relationship.go:117
Struct
Relationships
models/relationship.go:130
Struct
Request
models/actor.go:290
Struct
RerunObjectHooksCmd
rerunobjecthooks.go:10
Struct
Role
mastodon/serialisers.go:129
Struct
Serialiser
Seraliser contains methods to seralise various Mastodon REST API responses.
mastodon/serialisers.go:15
Struct
ServeCmd
serve.go:34
Struct
ShowActorCmd
showactor.go:14
Interface
Signer
Signer represents an object that can sign HTTP requests.
internal/activitypub/client.go:38
Struct
Source
mastodon/serialisers.go:60
Struct
Status
activitypub/objects.go:36
Struct
Status
A Status is a single message posted by a user. It may be a reply to another status, or a new thread of conversation. A Status belongs to a single Acco
models/status.go:19
Struct
Status
Status is a representation of a Mastodon Status object. https://docs.joinmastodon.org/entities/Status/
mastodon/serialisers.go:191
Struct
StatusAttachment
models/status.go:71
Struct
StatusAttachmentRequest
func (s *StatusAttachment) AfterSave(tx *gorm.DB) error { tx = tx.Clauses(clause.OnConflict{ UpdateAll: true, }) if s.URL == "" { // no URL, so
models/attachments.go:101
Struct
StatusEdit
https://docs.joinmastodon.org/entities/StatusEdit/
mastodon/serialisers.go:497
Struct
StatusError
StatusError represents an error with an associated HTTP status code.
internal/httpx/handler.go:20
next →
1–100 of 121, ranked by callers