// NewOutbox returns a new 'outbox' REST handler that retrieves a service's outbox.
NewOutbox returns a new 'outbox' REST handler that retrieves a service's outbox.
// NewOutbox returns a new ' outbox ' REST handler that retrieves a service ' s outbox .
func NewOutbox(cfg *Config, activityStore spi.Store, verifier signatureVerifier,
	sortOrder spi.SortOrder, tm authTokenManager) *ReadOutbox {
	h := &ReadOutbox{
		Activities: &Activities{
			getID:        getID("outbox"),
			getObjectIRI: getObjectIRI(cfg.ObjectIRI),
		},
	}
	h.Activities.handler = newHandler(OutboxPath, cfg, activityStore, h.handleOutbox, verifier, sortOrder, tm)
	return h
}
func NewOutbox ( cfg * Config , activityStore spi . Store , verifier signatureVerifier , sortOrder spi . SortOrder , tm authTokenManager ) * ReadOutbox { h := & ReadOutbox { Activities : & Activities { getID : getID ( " " ) , getObjectIRI : getObjectIRI ( cfg . ObjectIRI ) , } , } h . Activities . handler = newHandler ( OutboxPath , cfg , activityStore , h . handleOutbox , verifier , sortOrder , tm ) return h }
NewOutbox returns a new 'outbox' REST handler that retrieves a service's outbox.
NewOutbox returns a new ' outbox ' REST handler that retrieves a service ' s outbox .