Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler relation_rpc.RelationService, opts ...server.Option) server.Invoker
- func NewServer(handler relation_rpc.RelationService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type ActionArgs
- func (p *ActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ActionArgs) FastWrite(buf []byte) (n int)
- func (p *ActionArgs) GetReq() *relation_rpc.RPCRelationActionReq
- func (p *ActionArgs) IsSetReq() bool
- func (p *ActionArgs) Marshal(out []byte) ([]byte, error)
- func (p *ActionArgs) Size() (n int)
- func (p *ActionArgs) Unmarshal(in []byte) error
- type ActionResult
- func (p *ActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ActionResult) FastWrite(buf []byte) (n int)
- func (p *ActionResult) GetSuccess() *relation_rpc.RPCRelationActionResp
- func (p *ActionResult) IsSetSuccess() bool
- func (p *ActionResult) Marshal(out []byte) ([]byte, error)
- func (p *ActionResult) SetSuccess(x interface{})
- func (p *ActionResult) Size() (n int)
- func (p *ActionResult) Unmarshal(in []byte) error
- type CheckFollowArgs
- func (p *CheckFollowArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckFollowArgs) FastWrite(buf []byte) (n int)
- func (p *CheckFollowArgs) GetReq() *relation_rpc.RPCCheckFollowReq
- func (p *CheckFollowArgs) IsSetReq() bool
- func (p *CheckFollowArgs) Marshal(out []byte) ([]byte, error)
- func (p *CheckFollowArgs) Size() (n int)
- func (p *CheckFollowArgs) Unmarshal(in []byte) error
- type CheckFollowResult
- func (p *CheckFollowResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckFollowResult) FastWrite(buf []byte) (n int)
- func (p *CheckFollowResult) GetSuccess() *relation_rpc.RPCCheckFollowResp
- func (p *CheckFollowResult) IsSetSuccess() bool
- func (p *CheckFollowResult) Marshal(out []byte) ([]byte, error)
- func (p *CheckFollowResult) SetSuccess(x interface{})
- func (p *CheckFollowResult) Size() (n int)
- func (p *CheckFollowResult) Unmarshal(in []byte) error
- type Client
- type FollowListArgs
- func (p *FollowListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FollowListArgs) FastWrite(buf []byte) (n int)
- func (p *FollowListArgs) GetReq() *relation_rpc.RPCRelationFollowListReq
- func (p *FollowListArgs) IsSetReq() bool
- func (p *FollowListArgs) Marshal(out []byte) ([]byte, error)
- func (p *FollowListArgs) Size() (n int)
- func (p *FollowListArgs) Unmarshal(in []byte) error
- type FollowListResult
- func (p *FollowListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FollowListResult) FastWrite(buf []byte) (n int)
- func (p *FollowListResult) GetSuccess() *relation_rpc.RPCRelationFollowListResp
- func (p *FollowListResult) IsSetSuccess() bool
- func (p *FollowListResult) Marshal(out []byte) ([]byte, error)
- func (p *FollowListResult) SetSuccess(x interface{})
- func (p *FollowListResult) Size() (n int)
- func (p *FollowListResult) Unmarshal(in []byte) error
- type FollowerListArgs
- func (p *FollowerListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FollowerListArgs) FastWrite(buf []byte) (n int)
- func (p *FollowerListArgs) GetReq() *relation_rpc.RPCRelationFollowerListReq
- func (p *FollowerListArgs) IsSetReq() bool
- func (p *FollowerListArgs) Marshal(out []byte) ([]byte, error)
- func (p *FollowerListArgs) Size() (n int)
- func (p *FollowerListArgs) Unmarshal(in []byte) error
- type FollowerListResult
- func (p *FollowerListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FollowerListResult) FastWrite(buf []byte) (n int)
- func (p *FollowerListResult) GetSuccess() *relation_rpc.RPCRelationFollowerListResp
- func (p *FollowerListResult) IsSetSuccess() bool
- func (p *FollowerListResult) Marshal(out []byte) ([]byte, error)
- func (p *FollowerListResult) SetSuccess(x interface{})
- func (p *FollowerListResult) Size() (n int)
- func (p *FollowerListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionArgs_Req_DEFAULT *relation_rpc.RPCRelationActionReq
View Source
var ActionResult_Success_DEFAULT *relation_rpc.RPCRelationActionResp
View Source
var CheckFollowArgs_Req_DEFAULT *relation_rpc.RPCCheckFollowReq
View Source
var CheckFollowResult_Success_DEFAULT *relation_rpc.RPCCheckFollowResp
View Source
var FollowListArgs_Req_DEFAULT *relation_rpc.RPCRelationFollowListReq
View Source
var FollowListResult_Success_DEFAULT *relation_rpc.RPCRelationFollowListResp
View Source
var FollowerListArgs_Req_DEFAULT *relation_rpc.RPCRelationFollowerListReq
View Source
var FollowerListResult_Success_DEFAULT *relation_rpc.RPCRelationFollowerListResp
Functions ¶
func NewInvoker ¶
func NewInvoker(handler relation_rpc.RelationService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler relation_rpc.RelationService, opts ...server.Option) server.Server
NewServer creates a server.Server with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type ActionArgs ¶
type ActionArgs struct {
Req *relation_rpc.RPCRelationActionReq
}
func (*ActionArgs) FastWrite ¶
func (p *ActionArgs) FastWrite(buf []byte) (n int)
func (*ActionArgs) GetReq ¶
func (p *ActionArgs) GetReq() *relation_rpc.RPCRelationActionReq
func (*ActionArgs) IsSetReq ¶
func (p *ActionArgs) IsSetReq() bool
func (*ActionArgs) Size ¶
func (p *ActionArgs) Size() (n int)
func (*ActionArgs) Unmarshal ¶
func (p *ActionArgs) Unmarshal(in []byte) error
type ActionResult ¶
type ActionResult struct {
Success *relation_rpc.RPCRelationActionResp
}
func (*ActionResult) FastWrite ¶
func (p *ActionResult) FastWrite(buf []byte) (n int)
func (*ActionResult) GetSuccess ¶
func (p *ActionResult) GetSuccess() *relation_rpc.RPCRelationActionResp
func (*ActionResult) IsSetSuccess ¶
func (p *ActionResult) IsSetSuccess() bool
func (*ActionResult) SetSuccess ¶
func (p *ActionResult) SetSuccess(x interface{})
func (*ActionResult) Size ¶
func (p *ActionResult) Size() (n int)
func (*ActionResult) Unmarshal ¶
func (p *ActionResult) Unmarshal(in []byte) error
type CheckFollowArgs ¶
type CheckFollowArgs struct {
Req *relation_rpc.RPCCheckFollowReq
}
func (*CheckFollowArgs) FastWrite ¶
func (p *CheckFollowArgs) FastWrite(buf []byte) (n int)
func (*CheckFollowArgs) GetReq ¶
func (p *CheckFollowArgs) GetReq() *relation_rpc.RPCCheckFollowReq
func (*CheckFollowArgs) IsSetReq ¶
func (p *CheckFollowArgs) IsSetReq() bool
func (*CheckFollowArgs) Size ¶
func (p *CheckFollowArgs) Size() (n int)
func (*CheckFollowArgs) Unmarshal ¶
func (p *CheckFollowArgs) Unmarshal(in []byte) error
type CheckFollowResult ¶
type CheckFollowResult struct {
Success *relation_rpc.RPCCheckFollowResp
}
func (*CheckFollowResult) FastWrite ¶
func (p *CheckFollowResult) FastWrite(buf []byte) (n int)
func (*CheckFollowResult) GetSuccess ¶
func (p *CheckFollowResult) GetSuccess() *relation_rpc.RPCCheckFollowResp
func (*CheckFollowResult) IsSetSuccess ¶
func (p *CheckFollowResult) IsSetSuccess() bool
func (*CheckFollowResult) SetSuccess ¶
func (p *CheckFollowResult) SetSuccess(x interface{})
func (*CheckFollowResult) Size ¶
func (p *CheckFollowResult) Size() (n int)
func (*CheckFollowResult) Unmarshal ¶
func (p *CheckFollowResult) Unmarshal(in []byte) error
type Client ¶
type Client interface { Action(ctx context.Context, Req *relation_rpc.RPCRelationActionReq, callOptions ...callopt.Option) (r *relation_rpc.RPCRelationActionResp, err error) FollowList(ctx context.Context, Req *relation_rpc.RPCRelationFollowListReq, callOptions ...callopt.Option) (r *relation_rpc.RPCRelationFollowListResp, err error) FollowerList(ctx context.Context, Req *relation_rpc.RPCRelationFollowerListReq, callOptions ...callopt.Option) (r *relation_rpc.RPCRelationFollowerListResp, err error) CheckFollow(ctx context.Context, Req *relation_rpc.RPCCheckFollowReq, callOptions ...callopt.Option) (r *relation_rpc.RPCCheckFollowResp, 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 FollowListArgs ¶
type FollowListArgs struct {
Req *relation_rpc.RPCRelationFollowListReq
}
func (*FollowListArgs) FastWrite ¶
func (p *FollowListArgs) FastWrite(buf []byte) (n int)
func (*FollowListArgs) GetReq ¶
func (p *FollowListArgs) GetReq() *relation_rpc.RPCRelationFollowListReq
func (*FollowListArgs) IsSetReq ¶
func (p *FollowListArgs) IsSetReq() bool
func (*FollowListArgs) Size ¶
func (p *FollowListArgs) Size() (n int)
func (*FollowListArgs) Unmarshal ¶
func (p *FollowListArgs) Unmarshal(in []byte) error
type FollowListResult ¶
type FollowListResult struct {
Success *relation_rpc.RPCRelationFollowListResp
}
func (*FollowListResult) FastWrite ¶
func (p *FollowListResult) FastWrite(buf []byte) (n int)
func (*FollowListResult) GetSuccess ¶
func (p *FollowListResult) GetSuccess() *relation_rpc.RPCRelationFollowListResp
func (*FollowListResult) IsSetSuccess ¶
func (p *FollowListResult) IsSetSuccess() bool
func (*FollowListResult) SetSuccess ¶
func (p *FollowListResult) SetSuccess(x interface{})
func (*FollowListResult) Size ¶
func (p *FollowListResult) Size() (n int)
func (*FollowListResult) Unmarshal ¶
func (p *FollowListResult) Unmarshal(in []byte) error
type FollowerListArgs ¶
type FollowerListArgs struct {
Req *relation_rpc.RPCRelationFollowerListReq
}
func (*FollowerListArgs) FastWrite ¶
func (p *FollowerListArgs) FastWrite(buf []byte) (n int)
func (*FollowerListArgs) GetReq ¶
func (p *FollowerListArgs) GetReq() *relation_rpc.RPCRelationFollowerListReq
func (*FollowerListArgs) IsSetReq ¶
func (p *FollowerListArgs) IsSetReq() bool
func (*FollowerListArgs) Size ¶
func (p *FollowerListArgs) Size() (n int)
func (*FollowerListArgs) Unmarshal ¶
func (p *FollowerListArgs) Unmarshal(in []byte) error
type FollowerListResult ¶
type FollowerListResult struct {
Success *relation_rpc.RPCRelationFollowerListResp
}
func (*FollowerListResult) FastWrite ¶
func (p *FollowerListResult) FastWrite(buf []byte) (n int)
func (*FollowerListResult) GetSuccess ¶
func (p *FollowerListResult) GetSuccess() *relation_rpc.RPCRelationFollowerListResp
func (*FollowerListResult) IsSetSuccess ¶
func (p *FollowerListResult) IsSetSuccess() bool
func (*FollowerListResult) Marshal ¶
func (p *FollowerListResult) Marshal(out []byte) ([]byte, error)
func (*FollowerListResult) SetSuccess ¶
func (p *FollowerListResult) SetSuccess(x interface{})
func (*FollowerListResult) Size ¶
func (p *FollowerListResult) Size() (n int)
func (*FollowerListResult) Unmarshal ¶
func (p *FollowerListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.