Documentation ¶
Index ¶
- type Service
- func (s Service) Close(r *http.Request, args *commentapi.SharedBlockedListGetArgs, ...) error
- func (s Service) File(r *http.Request, args *commentapi.AppealFileArgs, ...) error
- func (s Service) ListAppeals(r *http.Request, args *commentapi.AppealListArgs, ...) error
- func (s Service) ListBlocks(r *http.Request, args *commentapi.AppealBlockListArgs, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
Service is the service struct defined for the comment package for rpc service "appeal.*"
func (Service) Close ¶
func (s Service) Close(r *http.Request, args *commentapi.SharedBlockedListGetArgs, reply *commentapi.SharedBlockedListGetResponse) error
Close closes an appeal by accepting it or rejecting it.
func (Service) File ¶
func (s Service) File(r *http.Request, args *commentapi.AppealFileArgs, reply *commentapi.AppealRequest) error
File files an appeal for a particular block
func (Service) ListAppeals ¶
func (s Service) ListAppeals(r *http.Request, args *commentapi.AppealListArgs, reply *commentapi.AppealListResponse) error
ListAppeals lists appeals requested by users against blocks by creators in the shared blocked lists.
func (Service) ListBlocks ¶
func (s Service) ListBlocks(r *http.Request, args *commentapi.AppealBlockListArgs, reply *commentapi.AppealBlockListResponse) error
ListBlocks lists the blocks for a particular user that could be potentially appealed.
Click to show internal directories.
Click to hide internal directories.