package
0.0.0-20210805064653-46677ce56296
Repository: https://github.com/go-fed/apcore.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Marshal takes any ActivityStreams type and serializes it to JSON.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

ActivityStreams is a wrapper around any ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsApplication is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsCollection is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsCollectionPage is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsFollow is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsOrderedCollection is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsOrderedCollectionPage is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
ActivityStreamsPerson is a wrapper around the ActivityStreams type that also knows how to serialize and deserialize itself for SQL database drivers.
No description provided by the author
No description provided by the author
ClientInfos is a Model that provides additional database methods for OAuth2 client information.
No description provided by the author
No description provided by the author
No description provided by the author
Credentials is a Model that provides a first-party proxy to OAuth2 tokens for cookies and other first-party storage.
DeliveryAttempts is a Model that provides additional database methods for delivery attempts.
FedData is a Model that provides additional database methods for ActivityStreams data received from federated peers.
Followers is a Model that provides additional database methods for Followers.
Following is a Model that provides additional database methods for Following.
Inboxes is a Model that provides additional database methods for Inboxes.
InstanceActorPreferences are the preferences for an instance actor which are serializable and deserializable into JSON for database storage.
No description provided by the author
Liked is a Model that provides additional database methods for Liked.
LocalData is a Model that provides additional database methods for ActivityStreams data generated by this instance.
No description provided by the author
NullDuration can handle nullable time.Duration values in the database.
Outboxes is a Model that provides additional database methods for Outboxes.
Policies is a Model that provides additional database methods for the Policy type.
No description provided by the author
No description provided by the author
No description provided by the author
Preferences are a user's preferences serializable and deserializable into JSON for database storage.
PrivateKeys is a Model that provides additional database methods for the PrivateKey type.
Privileges are a user's privileges serializable and deserializable into JSON for database storage.
No description provided by the author
Resolutions is a Model that provides additional database methods for the Resolution type.
No description provided by the author
No description provided by the author
No description provided by the author
TokenInfos is a Model that provides additional database methods for OAuth2 token information.
No description provided by the author
URL handles serializing/deserializing *url.URL types into databases.
No description provided by the author
No description provided by the author
Users is a Model that provides additional database methods for the Users type.
No description provided by the author

# Interfaces

Model handles managing a single database type.
SingleRow allows *sql.Rows to be treated as *sql.Row.
SqlDialect is a SQL dialect provider.

# Type aliases

OnFollowBehavior is a wrapper around pub.OnFollowBehavior type that also knows how to serialize and deserialize itself for SQL database drivers in a more readable manner.
No description provided by the author