mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-06-02 11:50:50 +00:00
69a193dae5
* update Activity * add instance-deliver-to-shared-inboxes setting * update activity version again * add SharedInboxURI field to accounts * serdes for endpoints/sharedInbox * deliver to sharedInbox if one is available * update tests * only assign shared inbox if shared domain * look for shared inbox if currently nil * go fmt * finger to get params.RemoteAccountID if necessary * make comments clearer * compare dns more consistently
23 lines
822 B
Go
23 lines
822 B
Go
// Code generated by astool. DO NOT EDIT.
|
|
|
|
package propertyendpoints
|
|
|
|
import vocab "github.com/superseriousbusiness/activity/streams/vocab"
|
|
|
|
var mgr privateManager
|
|
|
|
// privateManager abstracts the code-generated manager that provides access to
|
|
// concrete implementations.
|
|
type privateManager interface {
|
|
// DeserializeEndpointsActivityStreams returns the deserialization method
|
|
// for the "ActivityStreamsEndpoints" non-functional property in the
|
|
// vocabulary "ActivityStreams"
|
|
DeserializeEndpointsActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsEndpoints, error)
|
|
}
|
|
|
|
// SetManager sets the manager package-global variable. For internal use only, do
|
|
// not use as part of Application behavior. Must be called at golang init time.
|
|
func SetManager(m privateManager) {
|
|
mgr = m
|
|
}
|