MCPcopy Create free account

hub / github.com/davecheney/pub / types & classes

Types & classes121 in github.com/davecheney/pub

↓ 3 callersTypeAliasID
ID is a Mastodon compatible Snowflake ID. TODO use ID type instead of uint64 in the codebase.
internal/snowflake/id.go:11
↓ 2 callersTypeAliasBoolOrBit
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 callersTypeAliasPushSubscriptionPolicy
models/pushsubscription.go:25
↓ 2 callersTypeAliasTokenType
models/token.go:26
↓ 2 callersTypeAliasVisibility
models/status.go:219
↓ 1 callersTypeAliasActorType
models/actor.go:69
↓ 1 callersTypeAliasmuxContextKey
internal/streaming/streaming.go:10
StructAccount
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
StructAccount
mastodon/serialisers.go:23
StructAccountList
models/account.go:71
StructAccountListMember
models/account.go:79
StructAccountMarker
models/account.go:85
StructAccountPreferences
models/account.go:166
StructAccountRole
models/account.go:60
StructAccounts
models/account.go:95
StructAcct
internal/webfinger/webfinger.go:34
StructActivity
Activity is an ActivityStreams Activity. https://www.w3.org/TR/activitystreams-core/#activities
activitypub/objects.go:92
StructActivitypubOutboxRequest
ActivitypubOutboxRequest is a record of a request to send a status to an actor on a remote server.
models/activitypub.go:20
StructActivitypubRefresh
activitypub support tables ActivitypubRefresh is a record of a request to refresh a URI.
models/activitypub.go:8
StructActor
models/actor.go:16
StructActorAttachment
models/object.go:99
StructActorObject
models/actor.go:29
StructActorRefreshRequest
ActorRefreshRequest is a request to refresh an actor's data.
models/actor.go:305
StructActors
models/actor.go:227
StructAlerts
mastodon/serialisers.go:673
StructApplication
An Application is a registered client application. An Application belongs to an Instance.
models/application.go:7
StructApplication
mastodon/serialisers.go:414
StructAttachment
activitypub/objects.go:30
StructAttachment
models/attachments.go:9
TypeAliasAttachmentFocalPoint
models/status.go:82
StructAutoMigrateCmd
automigrate.go:8
StructClient
Client is an ActivityPub client which can be used to fetch remote ActivityPub resources.
internal/activitypub/client.go:32
StructCollection
activitypub/objects.go:85
StructContext
main.go:16
StructConversation
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
StructCreateAccountCmd
createaccount.go:8
StructCreateInstanceCmd
createinstance.go:8
StructCredentialAccount
mastodon/serialisers.go:54
StructDeleteAccountCmd
deleteaccount.go:8
StructEnv
activitypub/activitypub.go:23
StructEnv
models/env.go:8
StructEnv
mastodon/mastodon.go:20
StructFamiliarFollowers
mastodon/serialisers.go:661
StructFetchActorCmd
fetchactor.go:12
StructField
mastodon/serialisers.go:48
StructFocalPoint
models/attachments.go:20
StructFollowCmd
follow.go:12
StructHashTag
HashTag is an ActivityStreams Hashtag
activitypub/objects.go:17
StructHouseKeepingCmd
housekeeping.go:9
StructImage
Image is an ActivityStreams Image
activitypub/objects.go:24
StructInboxController
activitypub/inbox.go:27
StructInstance
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
StructInstanceRule
models/instance.go:32
StructInstances
models/instance.go:38
StructItem
activitypub/outbox.go:87
StructKeypair
KeyPair represents a public/private keypair in PEM format.
internal/crypto/crypto.go:13
StructLink
internal/webfinger/webfinger.go:27
StructList
mastodon/serialisers.go:400
StructMarker
https://docs.joinmastodon.org/entities/Marker/
mastodon/serialisers.go:386
StructMediaAttachment
mastodon/serialisers.go:341
StructMention
Mention represents a mention of a user in the context of a status. https://docs.joinmastodon.org/entities/Status/#Mention
mastodon/serialisers.go:438
StructMeta
mastodon/serialisers.go:354
StructMetaFocus
mastodon/serialisers.go:370
StructMetaFormat
mastodon/serialisers.go:375
StructMux
internal/streaming/streaming.go:14
StructObject
Object is an ActivityPub Object. https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object
activitypub/objects.go:11
StructObject
Object represents an ActivityPub object.
models/object.go:18
StructOption
activitypub/objects.go:79
StructOrderedCollection
synchronisefollowers.go:15
StructOrderedCollectionPage
synchronisefollowers.go:21
StructPayload
internal/streaming/streaming.go:5
StructPeer
models/peers.go:3
StructPoll
https://docs.joinmastodon.org/entities/Poll/
mastodon/serialisers.go:454
StructPollOption
mastodon/serialisers.go:467
StructPreferences
mastodon/serialisers.go:643
StructPushSubscription
models/pushsubscription.go:9
StructReaction
Reaction represents an an actors reaction to a status.
models/reaction.go:14
StructReactionRequest
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
TypeAliasReactionRequestAction
models/reaction.go:103
StructReactions
models/reaction.go:116
StructRelationship
models/relationship.go:12
StructRelationship
mastodon/serialisers.go:156
StructRelationshipRequest
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
TypeAliasRelationshipRequestAction
models/relationship.go:117
StructRelationships
models/relationship.go:130
StructRequest
models/actor.go:290
StructRerunObjectHooksCmd
rerunobjecthooks.go:10
StructRole
mastodon/serialisers.go:129
StructSerialiser
Seraliser contains methods to seralise various Mastodon REST API responses.
mastodon/serialisers.go:15
StructServeCmd
serve.go:34
StructShowActorCmd
showactor.go:14
InterfaceSigner
Signer represents an object that can sign HTTP requests.
internal/activitypub/client.go:38
StructSource
mastodon/serialisers.go:60
StructStatus
activitypub/objects.go:36
StructStatus
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
StructStatus
Status is a representation of a Mastodon Status object. https://docs.joinmastodon.org/entities/Status/
mastodon/serialisers.go:191
StructStatusAttachment
models/status.go:71
StructStatusAttachmentRequest
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
StructStatusEdit
https://docs.joinmastodon.org/entities/StatusEdit/
mastodon/serialisers.go:497
StructStatusError
StatusError represents an error with an associated HTTP status code.
internal/httpx/handler.go:20
next →1–100 of 121, ranked by callers