Documentation
¶
Index ¶
- type Application
- func (a *Application) CountComment4User(ctx context.Context, request *v1.CountComment4UserRequest) (*v1.CountComment4UserResponse, error)
- func (a *Application) CountComment4Video(ctx context.Context, request *v1.CountComment4VideoRequest) (*v1.CountComment4VideoResponse, error)
- func (a *Application) CreateComment(ctx context.Context, request *v1.CreateCommentRequest) (*v1.CreateCommentResponse, error)
- func (a *Application) GetCommentById(ctx context.Context, request *v1.GetCommentByIdRequest) (*v1.GetCommentByIdResponse, error)
- func (a *Application) ListChildComment4Comment(ctx context.Context, request *v1.ListChildComment4CommentRequest) (*v1.ListChildComment4CommentResponse, error)
- func (a *Application) ListComment4Video(ctx context.Context, request *v1.ListComment4VideoRequest) (*v1.ListComment4VideoResponse, error)
- func (a *Application) RemoveComment(ctx context.Context, request *v1.RemoveCommentRequest) (*v1.RemoveCommentResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { v1.UnimplementedCommentServiceServer // contains filtered or unexported fields }
func New ¶
func New(comment commentserviceiface.CommentService) *Application
func (*Application) CountComment4User ¶
func (a *Application) CountComment4User(ctx context.Context, request *v1.CountComment4UserRequest) (*v1.CountComment4UserResponse, error)
func (*Application) CountComment4Video ¶
func (a *Application) CountComment4Video(ctx context.Context, request *v1.CountComment4VideoRequest) (*v1.CountComment4VideoResponse, error)
func (*Application) CreateComment ¶
func (a *Application) CreateComment(ctx context.Context, request *v1.CreateCommentRequest) (*v1.CreateCommentResponse, error)
func (*Application) GetCommentById ¶
func (a *Application) GetCommentById(ctx context.Context, request *v1.GetCommentByIdRequest) (*v1.GetCommentByIdResponse, error)
func (*Application) ListChildComment4Comment ¶
func (a *Application) ListChildComment4Comment(ctx context.Context, request *v1.ListChildComment4CommentRequest) (*v1.ListChildComment4CommentResponse, error)
func (*Application) ListComment4Video ¶
func (a *Application) ListComment4Video(ctx context.Context, request *v1.ListComment4VideoRequest) (*v1.ListComment4VideoResponse, error)
func (*Application) RemoveComment ¶
func (a *Application) RemoveComment(ctx context.Context, request *v1.RemoveCommentRequest) (*v1.RemoveCommentResponse, error)
Click to show internal directories.
Click to hide internal directories.