ugc

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 20 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminChannelService

type AdminChannelService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AdminChannelService) AdminCreateChannel

AdminCreateChannel creates channel

func (*AdminChannelService) AdminDeleteChannel

AdminDeleteChannel deletes channel

func (*AdminChannelService) AdminGetChannel

AdminGetChannel gets channels

func (*AdminChannelService) AdminUpdateChannel

AdminUpdateChannel updates channel

func (*AdminChannelService) SingleAdminDeleteChannel

func (u *AdminChannelService) SingleAdminDeleteChannel(input *nr_admin_channel.SingleAdminDeleteChannelParams) error

SingleAdminDeleteChannel deletes channel

func (*AdminChannelService) SingleAdminGetChannel

SingleAdminGetChannel gets channel

func (*AdminChannelService) SingleAdminUpdateChannel

SingleAdminUpdateChannel updates channel

type AdminContentService

type AdminContentService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AdminContentService) AdminDeleteContent

AdminDeleteContent deletes content

func (*AdminContentService) AdminDownloadContentPreview

AdminDownloadContentPreview gets content preview

func (*AdminContentService) AdminGetContent

AdminGetContent gets user's generated contents

func (*AdminContentService) AdminGetSpecificContent

AdminGetSpecificContent gets user specific content

func (*AdminContentService) AdminHideUserContent

AdminHideUserContent hides unhidden user's generated contents

func (*AdminContentService) AdminSearchChannelSpecificContent

AdminSearchChannelSpecificContent searches contents specific to a channel

func (*AdminContentService) AdminSearchContent

AdminSearchContent searches contents

func (*AdminContentService) AdminUpdateContentDirect

AdminUpdateContentDirect updates content to a channel

func (*AdminContentService) AdminUpdateContentS3

AdminUpdateContentS3 updates content to s3 bucket

func (*AdminContentService) AdminUploadContentDirect

AdminUploadContentDirect uploads content to a channel

func (*AdminContentService) AdminUploadContentS3

AdminUploadContentS3 uploads content to s3 bucket

func (*AdminContentService) SingleAdminDeleteContent

func (a *AdminContentService) SingleAdminDeleteContent(input *nr_admin_content.SingleAdminDeleteContentParams) error

SingleAdminDeleteContent deletes content

func (*AdminContentService) SingleAdminGetContent

SingleAdminGetContent gets user's generated contents

func (*AdminContentService) SingleAdminUpdateContentDirect

SingleAdminUpdateContentDirect updates content to a channel

func (*AdminContentService) SingleAdminUpdateContentS3

SingleAdminUpdateContentS3 updates content to s3 bucket

type AdminGroupService

type AdminGroupService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AdminGroupService) AdminCreateGroup

AdminCreateGroup creates groups

func (*AdminGroupService) AdminDeleteGroup

func (u *AdminGroupService) AdminDeleteGroup(input *nr_admin_group.AdminDeleteGroupParams) error

AdminDeleteGroup deletes group

func (*AdminGroupService) AdminGetAllGroups

AdminGetAllGroups gets all user groups

func (*AdminGroupService) AdminGetGroup

AdminGetGroup gets specific user group

func (*AdminGroupService) AdminGetGroupContents

AdminGetGroupContents gets contents belong to a group

func (*AdminGroupService) AdminUpdateGroup

AdminUpdateGroup updates group

func (*AdminGroupService) SingleAdminDeleteGroup

func (u *AdminGroupService) SingleAdminDeleteGroup(input *nr_admin_group.SingleAdminDeleteGroupParams) error

SingleAdminDeleteGroup deletes group

func (*AdminGroupService) SingleAdminGetAllGroups

SingleAdminGetAllGroups gets all user groups

func (*AdminGroupService) SingleAdminGetGroup

SingleAdminGetGroup gets specific user group

func (*AdminGroupService) SingleAdminGetGroupContents

SingleAdminGetGroupContents gets contents belong to a group

func (*AdminGroupService) SingleAdminUpdateGroup

SingleAdminUpdateGroup updates group

type AdminTagService

type AdminTagService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AdminTagService) AdminCreateTag

AdminCreateTag creates tags

func (*AdminTagService) AdminDeleteTag

func (a *AdminTagService) AdminDeleteTag(input *nr_admin_tag.AdminDeleteTagParams) error

AdminDeleteTag deletes tags

func (*AdminTagService) AdminGetTag

AdminGetTag gets tags

func (*AdminTagService) AdminUpdateTag

AdminUpdateTag updates tag

type AdminTypeService

type AdminTypeService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AdminTypeService) AdminCreateType

AdminCreateType creates types

func (*AdminTypeService) AdminDeleteType

func (a *AdminTypeService) AdminDeleteType(input *nr_admin_type.AdminDeleteTypeParams) error

AdminDeleteType deletes types

func (*AdminTypeService) AdminGetType

AdminGetType gets types

func (*AdminTypeService) AdminUpdateType

AdminUpdateType updates type

type AnonymizationService

type AnonymizationService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*AnonymizationService) AdminDeleteAllUserChannels

func (u *AnonymizationService) AdminDeleteAllUserChannels(input *anonymization.AdminDeleteAllUserChannelsParams) error

AdminDeleteAllUserChannels deletes all user channel

func (*AnonymizationService) AdminDeleteAllUserContents

func (u *AnonymizationService) AdminDeleteAllUserContents(input *anonymization.AdminDeleteAllUserContentsParams) error

AdminDeleteAllUserContents deletes all user content

func (*AnonymizationService) AdminDeleteAllUserGroup

func (u *AnonymizationService) AdminDeleteAllUserGroup(input *anonymization.AdminDeleteAllUserGroupParams) error

AdminDeleteAllUserGroup deletes all user group

func (*AnonymizationService) AdminDeleteAllUserStates

func (u *AnonymizationService) AdminDeleteAllUserStates(input *anonymization.AdminDeleteAllUserStatesParams) error

AdminDeleteAllUserStates removes all user related state likes downloads followers following

func (*AnonymizationService) DeleteAllUserChannel

func (u *AnonymizationService) DeleteAllUserChannel(input *anonymization.DeleteAllUserChannelParams) error

DeleteAllUserChannel deletes all user channel

func (*AnonymizationService) DeleteAllUserContents

func (u *AnonymizationService) DeleteAllUserContents(input *anonymization.DeleteAllUserContentsParams) error

DeleteAllUserContents deletes all user content

func (*AnonymizationService) DeleteAllUserGroup

func (u *AnonymizationService) DeleteAllUserGroup(input *anonymization.DeleteAllUserGroupParams) error

DeleteAllUserGroup deletes all user group

func (*AnonymizationService) DeleteAllUserStates

func (u *AnonymizationService) DeleteAllUserStates(input *anonymization.DeleteAllUserStatesParams) error

DeleteAllUserStates removes all user related state likes downloads followers following

type PublicChannelService

type PublicChannelService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicChannelService) DeleteChannel

type PublicContentService

type PublicContentService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicContentService) DeleteContent

type PublicDownloadCountService

type PublicDownloadCountService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

type PublicGroupService

type PublicGroupService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicGroupService) DeleteGroup

type PublicLikeService

type PublicLikeService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicLikeService) GetLikedContent

GetLikedContent gets liked contents

func (*PublicLikeService) UpdateContentLikeStatus

UpdateContentLikeStatus updates like unlike status to a content

type PublicTagService

type PublicTagService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicTagService) GetTag

GetTag gets tags

type PublicTypeService

type PublicTypeService struct {
	Client          *ugcclient.JusticeUgcService
	TokenRepository repository.TokenRepository
}

func (*PublicTypeService) GetType

GetType gets types

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL