Documentation ¶
Index ¶
- Variables
- func Init(signingKey string)
- func VideoPublish(data []byte, videoTitle string, coverTitle string) error
- type VideoServiceImpl
- func (v *VideoServiceImpl) Feed(ctx context.Context, req *video.FeedRequest) (resp *video.FeedResponse, err error)
- func (v *VideoServiceImpl) PublishAction(ctx context.Context, req *video.PublishActionRequest) (resp *video.PublishActionResponse, err error)
- func (v *VideoServiceImpl) PublishList(ctx context.Context, req *video.PublishListRequest) (resp *video.PublishListResponse, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Jwt *jwt.JWT
)
Functions ¶
Types ¶
type VideoServiceImpl ¶
type VideoServiceImpl struct{}
func (*VideoServiceImpl) Feed ¶
func (v *VideoServiceImpl) Feed(ctx context.Context, req *video.FeedRequest) (resp *video.FeedResponse, err error)
func (*VideoServiceImpl) PublishAction ¶
func (v *VideoServiceImpl) PublishAction(ctx context.Context, req *video.PublishActionRequest) (resp *video.PublishActionResponse, err error)
func (*VideoServiceImpl) PublishList ¶
func (v *VideoServiceImpl) PublishList(ctx context.Context, req *video.PublishListRequest) (resp *video.PublishListResponse, err error)
Click to show internal directories.
Click to hide internal directories.