Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UsernameKey is for account usernames. UsernameKey = "username" // PublicKeyPath is a path to a user's public key, for serving bare minimum AP representations. PublicKeyPath = "users/:" + UsernameKey + "/" + uris.PublicKeyPath )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(processor processing.Processor) *Module
func (*Module) PublicKeyGETHandler ¶
PublicKeyGETHandler should be served at eg https://example.org/users/:username/main-key.
The goal here is to return a MINIMAL activitypub representation of an account in the form of a vocab.ActivityStreamsPerson. The account will only contain the id, public key, username, and type of the account.
Click to show internal directories.
Click to hide internal directories.