// NewActivities returns a new activities REST handler.
NewActivities returns a new activities REST handler.
// NewActivities returns a new activities REST handler .
func NewActivities(path string, refType spi.ReferenceType, cfg *Config, activityStore spi.Store,
	getObjectIRI getObjectIRIFunc, getID getIDFunc, verifier signatureVerifier,
	sortOrder spi.SortOrder, tm authTokenManager) *Activities {
	h := &Activities{
		refType:      refType,
		getID:        getID,
		getObjectIRI: getObjectIRI,
	}
	h.handler = newHandler(path, cfg, activityStore, h.handle, verifier, sortOrder, tm)
	return h
}
func NewActivities ( path string , refType spi . ReferenceType , cfg * Config , activityStore spi . Store , getObjectIRI getObjectIRIFunc , getID getIDFunc , verifier signatureVerifier , sortOrder spi . SortOrder , tm authTokenManager ) * Activities { h := & Activities { refType : refType , getID : getID , getObjectIRI : getObjectIRI , } h . handler = newHandler ( path , cfg , activityStore , h . handle , verifier , sortOrder , tm ) return h }
NewActivities returns a new activities REST handler.
NewActivities returns a new activities REST handler .