34 行
1.7 KiB
Go
34 行
1.7 KiB
Go
package propertynext
|
|
|
|
import vocab "github.com/go-fed/activity/streams/vocab"
|
|
|
|
var mgr privateManager
|
|
|
|
// privateManager abstracts the code-generated manager that provides access to
|
|
// concrete implementations.
|
|
type privateManager interface {
|
|
// DeserializeCollectionPageActivityStreams returns the deserialization
|
|
// method for the "ActivityStreamsCollectionPage" non-functional
|
|
// property in the vocabulary "ActivityStreams"
|
|
DeserializeCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsCollectionPage, error)
|
|
// DeserializeLinkActivityStreams returns the deserialization method for
|
|
// the "ActivityStreamsLink" non-functional property in the vocabulary
|
|
// "ActivityStreams"
|
|
DeserializeLinkActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsLink, error)
|
|
// DeserializeMentionActivityStreams returns the deserialization method
|
|
// for the "ActivityStreamsMention" non-functional property in the
|
|
// vocabulary "ActivityStreams"
|
|
DeserializeMentionActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsMention, error)
|
|
// DeserializeOrderedCollectionPageActivityStreams returns the
|
|
// deserialization method for the
|
|
// "ActivityStreamsOrderedCollectionPage" non-functional property in
|
|
// the vocabulary "ActivityStreams"
|
|
DeserializeOrderedCollectionPageActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsOrderedCollectionPage, 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
|
|
}
|