Documentation ¶
Index ¶
- type ActorService
- type InstanceService
- type StreamService
- type VideoService
- func (s *VideoService) AddVideo(ctx context.Context, announceObject vocab.ActivityStreamsObjectProperty, ...) error
- func (s *VideoService) DeleteVideo(ctx context.Context, deleteObject vocab.ActivityStreamsObjectProperty) error
- func (s *VideoService) UpsertVideo(ctx context.Context, updateObject vocab.ActivityStreamsObjectProperty) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorService ¶
type ActorService struct {
// contains filtered or unexported fields
}
func NewActorService ¶
func NewActorService(config *instance.FederationConfig, actorRep *models.ActorRepository, sender *outbox.Sender) *ActorService
func (*ActorService) CreateActorFromRemoteAccount ¶
func (*ActorService) GetLocalInstanceActor ¶
type InstanceService ¶
type InstanceService struct {
// contains filtered or unexported fields
}
func NewInstanceService ¶
func NewInstanceService(config *instance.FederationConfig, instanceRepo *models.InstanceRepository) *InstanceService
type StreamService ¶
type VideoService ¶
type VideoService struct {
// contains filtered or unexported fields
}
func NewVideoService ¶
func NewVideoService(config *instance.FederationConfig, actorService *ActorService, videoRep *models.VideoRepository, streamService StreamService, instanceService *InstanceService) *VideoService
func (*VideoService) AddVideo ¶
func (s *VideoService) AddVideo(ctx context.Context, announceObject vocab.ActivityStreamsObjectProperty, toFollowerIris []*url.URL) error
func (*VideoService) DeleteVideo ¶
func (s *VideoService) DeleteVideo(ctx context.Context, deleteObject vocab.ActivityStreamsObjectProperty) error
func (*VideoService) UpsertVideo ¶
func (s *VideoService) UpsertVideo(ctx context.Context, updateObject vocab.ActivityStreamsObjectProperty) error
Click to show internal directories.
Click to hide internal directories.