Documentation ¶
Overview ¶
Code generated by Kitex v0.9.1. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler core_api.Like, opts ...server.Option) server.Invoker
- func NewServer(handler core_api.Like, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- func NewServiceInfoForClient() *kitex.ServiceInfo
- func NewServiceInfoForStreamClient() *kitex.ServiceInfo
- func RegisterService(svr server.Server, handler core_api.Like, opts ...server.RegisterOption) error
- type Client
- type DoLikeArgs
- func (p *DoLikeArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DoLikeArgs) FastWrite(buf []byte) (n int)
- func (p *DoLikeArgs) GetFirstArgument() interface{}
- func (p *DoLikeArgs) GetReq() *core_api.DoLikeReq
- func (p *DoLikeArgs) IsSetReq() bool
- func (p *DoLikeArgs) Marshal(out []byte) ([]byte, error)
- func (p *DoLikeArgs) Size() (n int)
- func (p *DoLikeArgs) Unmarshal(in []byte) error
- type DoLikeResult
- func (p *DoLikeResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DoLikeResult) FastWrite(buf []byte) (n int)
- func (p *DoLikeResult) GetResult() interface{}
- func (p *DoLikeResult) GetSuccess() *core_api.DoLikeResp
- func (p *DoLikeResult) IsSetSuccess() bool
- func (p *DoLikeResult) Marshal(out []byte) ([]byte, error)
- func (p *DoLikeResult) SetSuccess(x interface{})
- func (p *DoLikeResult) Size() (n int)
- func (p *DoLikeResult) Unmarshal(in []byte) error
- type GetLikedCountArgs
- func (p *GetLikedCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetLikedCountArgs) FastWrite(buf []byte) (n int)
- func (p *GetLikedCountArgs) GetFirstArgument() interface{}
- func (p *GetLikedCountArgs) GetReq() *core_api.GetLikedCountReq
- func (p *GetLikedCountArgs) IsSetReq() bool
- func (p *GetLikedCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetLikedCountArgs) Size() (n int)
- func (p *GetLikedCountArgs) Unmarshal(in []byte) error
- type GetLikedCountResult
- func (p *GetLikedCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetLikedCountResult) FastWrite(buf []byte) (n int)
- func (p *GetLikedCountResult) GetResult() interface{}
- func (p *GetLikedCountResult) GetSuccess() *core_api.GetLikedCountResp
- func (p *GetLikedCountResult) IsSetSuccess() bool
- func (p *GetLikedCountResult) Marshal(out []byte) ([]byte, error)
- func (p *GetLikedCountResult) SetSuccess(x interface{})
- func (p *GetLikedCountResult) Size() (n int)
- func (p *GetLikedCountResult) Unmarshal(in []byte) error
- type GetLikedUsersArgs
- func (p *GetLikedUsersArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetLikedUsersArgs) FastWrite(buf []byte) (n int)
- func (p *GetLikedUsersArgs) GetFirstArgument() interface{}
- func (p *GetLikedUsersArgs) GetReq() *core_api.GetLikedUsersReq
- func (p *GetLikedUsersArgs) IsSetReq() bool
- func (p *GetLikedUsersArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetLikedUsersArgs) Size() (n int)
- func (p *GetLikedUsersArgs) Unmarshal(in []byte) error
- type GetLikedUsersResult
- func (p *GetLikedUsersResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetLikedUsersResult) FastWrite(buf []byte) (n int)
- func (p *GetLikedUsersResult) GetResult() interface{}
- func (p *GetLikedUsersResult) GetSuccess() *core_api.GetLikedUsersResp
- func (p *GetLikedUsersResult) IsSetSuccess() bool
- func (p *GetLikedUsersResult) Marshal(out []byte) ([]byte, error)
- func (p *GetLikedUsersResult) SetSuccess(x interface{})
- func (p *GetLikedUsersResult) Size() (n int)
- func (p *GetLikedUsersResult) Unmarshal(in []byte) error
- type GetUserLikeContentsArgs
- func (p *GetUserLikeContentsArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikeContentsArgs) FastWrite(buf []byte) (n int)
- func (p *GetUserLikeContentsArgs) GetFirstArgument() interface{}
- func (p *GetUserLikeContentsArgs) GetReq() *core_api.GetUserLikeContentsReq
- func (p *GetUserLikeContentsArgs) IsSetReq() bool
- func (p *GetUserLikeContentsArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikeContentsArgs) Size() (n int)
- func (p *GetUserLikeContentsArgs) Unmarshal(in []byte) error
- type GetUserLikeContentsResult
- func (p *GetUserLikeContentsResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikeContentsResult) FastWrite(buf []byte) (n int)
- func (p *GetUserLikeContentsResult) GetResult() interface{}
- func (p *GetUserLikeContentsResult) GetSuccess() *core_api.GetUserLikeContentsResp
- func (p *GetUserLikeContentsResult) IsSetSuccess() bool
- func (p *GetUserLikeContentsResult) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikeContentsResult) SetSuccess(x interface{})
- func (p *GetUserLikeContentsResult) Size() (n int)
- func (p *GetUserLikeContentsResult) Unmarshal(in []byte) error
- type GetUserLikedArgs
- func (p *GetUserLikedArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikedArgs) FastWrite(buf []byte) (n int)
- func (p *GetUserLikedArgs) GetFirstArgument() interface{}
- func (p *GetUserLikedArgs) GetReq() *core_api.GetUserLikedReq
- func (p *GetUserLikedArgs) IsSetReq() bool
- func (p *GetUserLikedArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikedArgs) Size() (n int)
- func (p *GetUserLikedArgs) Unmarshal(in []byte) error
- type GetUserLikedResult
- func (p *GetUserLikedResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikedResult) FastWrite(buf []byte) (n int)
- func (p *GetUserLikedResult) GetResult() interface{}
- func (p *GetUserLikedResult) GetSuccess() *core_api.GetUserLikedResp
- func (p *GetUserLikedResult) IsSetSuccess() bool
- func (p *GetUserLikedResult) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikedResult) SetSuccess(x interface{})
- func (p *GetUserLikedResult) Size() (n int)
- func (p *GetUserLikedResult) Unmarshal(in []byte) error
- type GetUserLikesArgs
- func (p *GetUserLikesArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikesArgs) FastWrite(buf []byte) (n int)
- func (p *GetUserLikesArgs) GetFirstArgument() interface{}
- func (p *GetUserLikesArgs) GetReq() *core_api.GetUserLikesReq
- func (p *GetUserLikesArgs) IsSetReq() bool
- func (p *GetUserLikesArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikesArgs) Size() (n int)
- func (p *GetUserLikesArgs) Unmarshal(in []byte) error
- type GetUserLikesResult
- func (p *GetUserLikesResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserLikesResult) FastWrite(buf []byte) (n int)
- func (p *GetUserLikesResult) GetResult() interface{}
- func (p *GetUserLikesResult) GetSuccess() *core_api.GetUserLikesResp
- func (p *GetUserLikesResult) IsSetSuccess() bool
- func (p *GetUserLikesResult) Marshal(out []byte) ([]byte, error)
- func (p *GetUserLikesResult) SetSuccess(x interface{})
- func (p *GetUserLikesResult) Size() (n int)
- func (p *GetUserLikesResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DoLikeArgs_Req_DEFAULT *core_api.DoLikeReq
View Source
var DoLikeResult_Success_DEFAULT *core_api.DoLikeResp
View Source
var GetLikedCountArgs_Req_DEFAULT *core_api.GetLikedCountReq
View Source
var GetLikedCountResult_Success_DEFAULT *core_api.GetLikedCountResp
View Source
var GetLikedUsersArgs_Req_DEFAULT *core_api.GetLikedUsersReq
View Source
var GetLikedUsersResult_Success_DEFAULT *core_api.GetLikedUsersResp
View Source
var GetUserLikeContentsArgs_Req_DEFAULT *core_api.GetUserLikeContentsReq
View Source
var GetUserLikeContentsResult_Success_DEFAULT *core_api.GetUserLikeContentsResp
View Source
var GetUserLikedArgs_Req_DEFAULT *core_api.GetUserLikedReq
View Source
var GetUserLikedResult_Success_DEFAULT *core_api.GetUserLikedResp
View Source
var GetUserLikesArgs_Req_DEFAULT *core_api.GetUserLikesReq
View Source
var GetUserLikesResult_Success_DEFAULT *core_api.GetUserLikesResp
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
NewServiceInfo creates a new ServiceInfo containing all methods
func NewServiceInfoForClient ¶
func NewServiceInfoForClient() *kitex.ServiceInfo
NewServiceInfo creates a new ServiceInfo containing non-streaming methods
func NewServiceInfoForStreamClient ¶
func NewServiceInfoForStreamClient() *kitex.ServiceInfo
func RegisterService ¶
Types ¶
type Client ¶
type Client interface { DoLike(ctx context.Context, Req *core_api.DoLikeReq, callOptions ...callopt.Option) (r *core_api.DoLikeResp, err error) GetUserLiked(ctx context.Context, Req *core_api.GetUserLikedReq, callOptions ...callopt.Option) (r *core_api.GetUserLikedResp, err error) GetLikedCount(ctx context.Context, Req *core_api.GetLikedCountReq, callOptions ...callopt.Option) (r *core_api.GetLikedCountResp, err error) GetLikedUsers(ctx context.Context, Req *core_api.GetLikedUsersReq, callOptions ...callopt.Option) (r *core_api.GetLikedUsersResp, err error) GetUserLikes(ctx context.Context, Req *core_api.GetUserLikesReq, callOptions ...callopt.Option) (r *core_api.GetUserLikesResp, err error) GetUserLikeContents(ctx context.Context, Req *core_api.GetUserLikeContentsReq, callOptions ...callopt.Option) (r *core_api.GetUserLikeContentsResp, err error) }
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
type DoLikeArgs ¶
func (*DoLikeArgs) FastWrite ¶
func (p *DoLikeArgs) FastWrite(buf []byte) (n int)
func (*DoLikeArgs) GetFirstArgument ¶
func (p *DoLikeArgs) GetFirstArgument() interface{}
func (*DoLikeArgs) GetReq ¶
func (p *DoLikeArgs) GetReq() *core_api.DoLikeReq
func (*DoLikeArgs) IsSetReq ¶
func (p *DoLikeArgs) IsSetReq() bool
func (*DoLikeArgs) Size ¶
func (p *DoLikeArgs) Size() (n int)
func (*DoLikeArgs) Unmarshal ¶
func (p *DoLikeArgs) Unmarshal(in []byte) error
type DoLikeResult ¶
type DoLikeResult struct {
Success *core_api.DoLikeResp
}
func (*DoLikeResult) FastWrite ¶
func (p *DoLikeResult) FastWrite(buf []byte) (n int)
func (*DoLikeResult) GetResult ¶
func (p *DoLikeResult) GetResult() interface{}
func (*DoLikeResult) GetSuccess ¶
func (p *DoLikeResult) GetSuccess() *core_api.DoLikeResp
func (*DoLikeResult) IsSetSuccess ¶
func (p *DoLikeResult) IsSetSuccess() bool
func (*DoLikeResult) SetSuccess ¶
func (p *DoLikeResult) SetSuccess(x interface{})
func (*DoLikeResult) Size ¶
func (p *DoLikeResult) Size() (n int)
func (*DoLikeResult) Unmarshal ¶
func (p *DoLikeResult) Unmarshal(in []byte) error
type GetLikedCountArgs ¶
type GetLikedCountArgs struct {
Req *core_api.GetLikedCountReq
}
func (*GetLikedCountArgs) FastWrite ¶
func (p *GetLikedCountArgs) FastWrite(buf []byte) (n int)
func (*GetLikedCountArgs) GetFirstArgument ¶
func (p *GetLikedCountArgs) GetFirstArgument() interface{}
func (*GetLikedCountArgs) GetReq ¶
func (p *GetLikedCountArgs) GetReq() *core_api.GetLikedCountReq
func (*GetLikedCountArgs) IsSetReq ¶
func (p *GetLikedCountArgs) IsSetReq() bool
func (*GetLikedCountArgs) Size ¶
func (p *GetLikedCountArgs) Size() (n int)
func (*GetLikedCountArgs) Unmarshal ¶
func (p *GetLikedCountArgs) Unmarshal(in []byte) error
type GetLikedCountResult ¶
type GetLikedCountResult struct {
Success *core_api.GetLikedCountResp
}
func (*GetLikedCountResult) FastWrite ¶
func (p *GetLikedCountResult) FastWrite(buf []byte) (n int)
func (*GetLikedCountResult) GetResult ¶
func (p *GetLikedCountResult) GetResult() interface{}
func (*GetLikedCountResult) GetSuccess ¶
func (p *GetLikedCountResult) GetSuccess() *core_api.GetLikedCountResp
func (*GetLikedCountResult) IsSetSuccess ¶
func (p *GetLikedCountResult) IsSetSuccess() bool
func (*GetLikedCountResult) Marshal ¶
func (p *GetLikedCountResult) Marshal(out []byte) ([]byte, error)
func (*GetLikedCountResult) SetSuccess ¶
func (p *GetLikedCountResult) SetSuccess(x interface{})
func (*GetLikedCountResult) Size ¶
func (p *GetLikedCountResult) Size() (n int)
func (*GetLikedCountResult) Unmarshal ¶
func (p *GetLikedCountResult) Unmarshal(in []byte) error
type GetLikedUsersArgs ¶
type GetLikedUsersArgs struct {
Req *core_api.GetLikedUsersReq
}
func (*GetLikedUsersArgs) FastWrite ¶
func (p *GetLikedUsersArgs) FastWrite(buf []byte) (n int)
func (*GetLikedUsersArgs) GetFirstArgument ¶
func (p *GetLikedUsersArgs) GetFirstArgument() interface{}
func (*GetLikedUsersArgs) GetReq ¶
func (p *GetLikedUsersArgs) GetReq() *core_api.GetLikedUsersReq
func (*GetLikedUsersArgs) IsSetReq ¶
func (p *GetLikedUsersArgs) IsSetReq() bool
func (*GetLikedUsersArgs) Size ¶
func (p *GetLikedUsersArgs) Size() (n int)
func (*GetLikedUsersArgs) Unmarshal ¶
func (p *GetLikedUsersArgs) Unmarshal(in []byte) error
type GetLikedUsersResult ¶
type GetLikedUsersResult struct {
Success *core_api.GetLikedUsersResp
}
func (*GetLikedUsersResult) FastWrite ¶
func (p *GetLikedUsersResult) FastWrite(buf []byte) (n int)
func (*GetLikedUsersResult) GetResult ¶
func (p *GetLikedUsersResult) GetResult() interface{}
func (*GetLikedUsersResult) GetSuccess ¶
func (p *GetLikedUsersResult) GetSuccess() *core_api.GetLikedUsersResp
func (*GetLikedUsersResult) IsSetSuccess ¶
func (p *GetLikedUsersResult) IsSetSuccess() bool
func (*GetLikedUsersResult) Marshal ¶
func (p *GetLikedUsersResult) Marshal(out []byte) ([]byte, error)
func (*GetLikedUsersResult) SetSuccess ¶
func (p *GetLikedUsersResult) SetSuccess(x interface{})
func (*GetLikedUsersResult) Size ¶
func (p *GetLikedUsersResult) Size() (n int)
func (*GetLikedUsersResult) Unmarshal ¶
func (p *GetLikedUsersResult) Unmarshal(in []byte) error
type GetUserLikeContentsArgs ¶
type GetUserLikeContentsArgs struct {
Req *core_api.GetUserLikeContentsReq
}
func (*GetUserLikeContentsArgs) FastWrite ¶
func (p *GetUserLikeContentsArgs) FastWrite(buf []byte) (n int)
func (*GetUserLikeContentsArgs) GetFirstArgument ¶
func (p *GetUserLikeContentsArgs) GetFirstArgument() interface{}
func (*GetUserLikeContentsArgs) GetReq ¶
func (p *GetUserLikeContentsArgs) GetReq() *core_api.GetUserLikeContentsReq
func (*GetUserLikeContentsArgs) IsSetReq ¶
func (p *GetUserLikeContentsArgs) IsSetReq() bool
func (*GetUserLikeContentsArgs) Marshal ¶
func (p *GetUserLikeContentsArgs) Marshal(out []byte) ([]byte, error)
func (*GetUserLikeContentsArgs) Size ¶
func (p *GetUserLikeContentsArgs) Size() (n int)
func (*GetUserLikeContentsArgs) Unmarshal ¶
func (p *GetUserLikeContentsArgs) Unmarshal(in []byte) error
type GetUserLikeContentsResult ¶
type GetUserLikeContentsResult struct {
Success *core_api.GetUserLikeContentsResp
}
func (*GetUserLikeContentsResult) FastWrite ¶
func (p *GetUserLikeContentsResult) FastWrite(buf []byte) (n int)
func (*GetUserLikeContentsResult) GetResult ¶
func (p *GetUserLikeContentsResult) GetResult() interface{}
func (*GetUserLikeContentsResult) GetSuccess ¶
func (p *GetUserLikeContentsResult) GetSuccess() *core_api.GetUserLikeContentsResp
func (*GetUserLikeContentsResult) IsSetSuccess ¶
func (p *GetUserLikeContentsResult) IsSetSuccess() bool
func (*GetUserLikeContentsResult) Marshal ¶
func (p *GetUserLikeContentsResult) Marshal(out []byte) ([]byte, error)
func (*GetUserLikeContentsResult) SetSuccess ¶
func (p *GetUserLikeContentsResult) SetSuccess(x interface{})
func (*GetUserLikeContentsResult) Size ¶
func (p *GetUserLikeContentsResult) Size() (n int)
func (*GetUserLikeContentsResult) Unmarshal ¶
func (p *GetUserLikeContentsResult) Unmarshal(in []byte) error
type GetUserLikedArgs ¶
type GetUserLikedArgs struct {
Req *core_api.GetUserLikedReq
}
func (*GetUserLikedArgs) FastWrite ¶
func (p *GetUserLikedArgs) FastWrite(buf []byte) (n int)
func (*GetUserLikedArgs) GetFirstArgument ¶
func (p *GetUserLikedArgs) GetFirstArgument() interface{}
func (*GetUserLikedArgs) GetReq ¶
func (p *GetUserLikedArgs) GetReq() *core_api.GetUserLikedReq
func (*GetUserLikedArgs) IsSetReq ¶
func (p *GetUserLikedArgs) IsSetReq() bool
func (*GetUserLikedArgs) Size ¶
func (p *GetUserLikedArgs) Size() (n int)
func (*GetUserLikedArgs) Unmarshal ¶
func (p *GetUserLikedArgs) Unmarshal(in []byte) error
type GetUserLikedResult ¶
type GetUserLikedResult struct {
Success *core_api.GetUserLikedResp
}
func (*GetUserLikedResult) FastWrite ¶
func (p *GetUserLikedResult) FastWrite(buf []byte) (n int)
func (*GetUserLikedResult) GetResult ¶
func (p *GetUserLikedResult) GetResult() interface{}
func (*GetUserLikedResult) GetSuccess ¶
func (p *GetUserLikedResult) GetSuccess() *core_api.GetUserLikedResp
func (*GetUserLikedResult) IsSetSuccess ¶
func (p *GetUserLikedResult) IsSetSuccess() bool
func (*GetUserLikedResult) Marshal ¶
func (p *GetUserLikedResult) Marshal(out []byte) ([]byte, error)
func (*GetUserLikedResult) SetSuccess ¶
func (p *GetUserLikedResult) SetSuccess(x interface{})
func (*GetUserLikedResult) Size ¶
func (p *GetUserLikedResult) Size() (n int)
func (*GetUserLikedResult) Unmarshal ¶
func (p *GetUserLikedResult) Unmarshal(in []byte) error
type GetUserLikesArgs ¶
type GetUserLikesArgs struct {
Req *core_api.GetUserLikesReq
}
func (*GetUserLikesArgs) FastWrite ¶
func (p *GetUserLikesArgs) FastWrite(buf []byte) (n int)
func (*GetUserLikesArgs) GetFirstArgument ¶
func (p *GetUserLikesArgs) GetFirstArgument() interface{}
func (*GetUserLikesArgs) GetReq ¶
func (p *GetUserLikesArgs) GetReq() *core_api.GetUserLikesReq
func (*GetUserLikesArgs) IsSetReq ¶
func (p *GetUserLikesArgs) IsSetReq() bool
func (*GetUserLikesArgs) Size ¶
func (p *GetUserLikesArgs) Size() (n int)
func (*GetUserLikesArgs) Unmarshal ¶
func (p *GetUserLikesArgs) Unmarshal(in []byte) error
type GetUserLikesResult ¶
type GetUserLikesResult struct {
Success *core_api.GetUserLikesResp
}
func (*GetUserLikesResult) FastWrite ¶
func (p *GetUserLikesResult) FastWrite(buf []byte) (n int)
func (*GetUserLikesResult) GetResult ¶
func (p *GetUserLikesResult) GetResult() interface{}
func (*GetUserLikesResult) GetSuccess ¶
func (p *GetUserLikesResult) GetSuccess() *core_api.GetUserLikesResp
func (*GetUserLikesResult) IsSetSuccess ¶
func (p *GetUserLikesResult) IsSetSuccess() bool
func (*GetUserLikesResult) Marshal ¶
func (p *GetUserLikesResult) Marshal(out []byte) ([]byte, error)
func (*GetUserLikesResult) SetSuccess ¶
func (p *GetUserLikesResult) SetSuccess(x interface{})
func (*GetUserLikesResult) Size ¶
func (p *GetUserLikesResult) Size() (n int)
func (*GetUserLikesResult) Unmarshal ¶
func (p *GetUserLikesResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.