Documentation ¶
Index ¶
- type AddPostRequest
- type AddPostService
- type GetDocRequest
- type GetDocResponse
- type GetDocService
- type IndexRequest
- type IndexService
- type ListDocRequest
- type ListDocResponse
- type ListDocService
- type ListRequest
- type ListService
- type LoginPostRequest
- type LoginPostService
- type RewardRequest
- type RewardService
- type UpdatePostRequest
- type UpdatePostService
- type UpdateRequest
- type UpdateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPostRequest ¶
type AddPostService ¶
type AddPostService struct {
*water.ServerBase
}
func (*AddPostService) Handle ¶
func (srv *AddPostService) Handle(ctx context.Context, req *AddPostRequest) (interface{}, error)
type GetDocRequest ¶
type GetDocRequest struct {
UrlID string `json:"url_id"`
}
type GetDocResponse ¶
type GetDocService ¶
type GetDocService struct {
*water.ServerBase
}
func (*GetDocService) Handle ¶
func (srv *GetDocService) Handle(ctx context.Context, req *GetDocRequest) (interface{}, error)
type IndexRequest ¶
type IndexRequest struct{}
type IndexService ¶
type IndexService struct {
*water.ServerBase
}
func (*IndexService) Handle ¶
func (srv *IndexService) Handle(ctx context.Context, req *IndexRequest) (interface{}, error)
type ListDocRequest ¶
type ListDocRequest struct {
Kind int `json:"kind"`
}
type ListDocResponse ¶
type ListDocService ¶
type ListDocService struct {
*water.ServerBase
}
func (*ListDocService) Handle ¶
func (srv *ListDocService) Handle(ctx context.Context, req *ListDocRequest) (interface{}, error)
type ListRequest ¶
type ListService ¶
type ListService struct {
*water.ServerBase
}
func (*ListService) Handle ¶
func (srv *ListService) Handle(ctx context.Context, req *ListRequest) (interface{}, error)
type LoginPostRequest ¶
type LoginPostService ¶
type LoginPostService struct {
*water.ServerBase
}
func (*LoginPostService) Handle ¶
func (srv *LoginPostService) Handle(ctx context.Context, req *LoginPostRequest) (interface{}, error)
type RewardRequest ¶
type RewardRequest struct{}
type RewardService ¶
type RewardService struct {
*water.ServerBase
}
func (*RewardService) Handle ¶
func (srv *RewardService) Handle(ctx context.Context, req *RewardRequest) (interface{}, error)
type UpdatePostRequest ¶
type UpdatePostService ¶
type UpdatePostService struct {
*water.ServerBase
}
func (*UpdatePostService) Handle ¶
func (srv *UpdatePostService) Handle(ctx context.Context, req *UpdatePostRequest) (interface{}, error)
type UpdateRequest ¶
type UpdateRequest struct {
UrlID string `json:"url_id"`
}
type UpdateService ¶
type UpdateService struct {
*water.ServerBase
}
func (*UpdateService) Handle ¶
func (srv *UpdateService) Handle(ctx context.Context, req *UpdateRequest) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.