Documentation
¶
Overview ¶
Code generated by Kitex v0.7.0. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler relation.RelationService, opts ...server.Option) server.Invoker
- func NewServer(handler relation.RelationService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- 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) GetFirstArgument() interface{}
- func (p *FollowListArgs) GetReq() *relation.RelationFollowListRequest
- 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) GetResult() interface{}
- func (p *FollowListResult) GetSuccess() *relation.RelationFollowListResponse
- 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) GetFirstArgument() interface{}
- func (p *FollowerListArgs) GetReq() *relation.RelationFollowerListRequest
- 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) GetResult() interface{}
- func (p *FollowerListResult) GetSuccess() *relation.RelationFollowerListResponse
- 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
- type FriendListArgs
- func (p *FriendListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FriendListArgs) FastWrite(buf []byte) (n int)
- func (p *FriendListArgs) GetFirstArgument() interface{}
- func (p *FriendListArgs) GetReq() *relation.RelationFriendListRequest
- func (p *FriendListArgs) IsSetReq() bool
- func (p *FriendListArgs) Marshal(out []byte) ([]byte, error)
- func (p *FriendListArgs) Size() (n int)
- func (p *FriendListArgs) Unmarshal(in []byte) error
- type FriendListResult
- func (p *FriendListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FriendListResult) FastWrite(buf []byte) (n int)
- func (p *FriendListResult) GetResult() interface{}
- func (p *FriendListResult) GetSuccess() *relation.RelationFriendListResponse
- func (p *FriendListResult) IsSetSuccess() bool
- func (p *FriendListResult) Marshal(out []byte) ([]byte, error)
- func (p *FriendListResult) SetSuccess(x interface{})
- func (p *FriendListResult) Size() (n int)
- func (p *FriendListResult) Unmarshal(in []byte) error
- type RelationActionArgs
- func (p *RelationActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationActionArgs) FastWrite(buf []byte) (n int)
- func (p *RelationActionArgs) GetFirstArgument() interface{}
- func (p *RelationActionArgs) GetReq() *relation.RelationActionRequest
- func (p *RelationActionArgs) IsSetReq() bool
- func (p *RelationActionArgs) Marshal(out []byte) ([]byte, error)
- func (p *RelationActionArgs) Size() (n int)
- func (p *RelationActionArgs) Unmarshal(in []byte) error
- type RelationActionResult
- func (p *RelationActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationActionResult) FastWrite(buf []byte) (n int)
- func (p *RelationActionResult) GetResult() interface{}
- func (p *RelationActionResult) GetSuccess() *relation.RelationActionResponse
- func (p *RelationActionResult) IsSetSuccess() bool
- func (p *RelationActionResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationActionResult) SetSuccess(x interface{})
- func (p *RelationActionResult) Size() (n int)
- func (p *RelationActionResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FollowListArgs_Req_DEFAULT *relation.RelationFollowListRequest
View Source
var FollowListResult_Success_DEFAULT *relation.RelationFollowListResponse
View Source
var FollowerListArgs_Req_DEFAULT *relation.RelationFollowerListRequest
View Source
var FollowerListResult_Success_DEFAULT *relation.RelationFollowerListResponse
View Source
var FriendListArgs_Req_DEFAULT *relation.RelationFriendListRequest
View Source
var FriendListResult_Success_DEFAULT *relation.RelationFriendListResponse
View Source
var RelationActionArgs_Req_DEFAULT *relation.RelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *relation.RelationActionResponse
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { RelationAction(ctx context.Context, Req *relation.RelationActionRequest, callOptions ...callopt.Option) (r *relation.RelationActionResponse, err error) FollowList(ctx context.Context, Req *relation.RelationFollowListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowListResponse, err error) FollowerList(ctx context.Context, Req *relation.RelationFollowerListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowerListResponse, err error) FriendList(ctx context.Context, Req *relation.RelationFriendListRequest, callOptions ...callopt.Option) (r *relation.RelationFriendListResponse, 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.RelationFollowListRequest
}
func (*FollowListArgs) FastWrite ¶
func (p *FollowListArgs) FastWrite(buf []byte) (n int)
func (*FollowListArgs) GetFirstArgument ¶
func (p *FollowListArgs) GetFirstArgument() interface{}
func (*FollowListArgs) GetReq ¶
func (p *FollowListArgs) GetReq() *relation.RelationFollowListRequest
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.RelationFollowListResponse
}
func (*FollowListResult) FastWrite ¶
func (p *FollowListResult) FastWrite(buf []byte) (n int)
func (*FollowListResult) GetResult ¶
func (p *FollowListResult) GetResult() interface{}
func (*FollowListResult) GetSuccess ¶
func (p *FollowListResult) GetSuccess() *relation.RelationFollowListResponse
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.RelationFollowerListRequest
}
func (*FollowerListArgs) FastWrite ¶
func (p *FollowerListArgs) FastWrite(buf []byte) (n int)
func (*FollowerListArgs) GetFirstArgument ¶
func (p *FollowerListArgs) GetFirstArgument() interface{}
func (*FollowerListArgs) GetReq ¶
func (p *FollowerListArgs) GetReq() *relation.RelationFollowerListRequest
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.RelationFollowerListResponse
}
func (*FollowerListResult) FastWrite ¶
func (p *FollowerListResult) FastWrite(buf []byte) (n int)
func (*FollowerListResult) GetResult ¶
func (p *FollowerListResult) GetResult() interface{}
func (*FollowerListResult) GetSuccess ¶
func (p *FollowerListResult) GetSuccess() *relation.RelationFollowerListResponse
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
type FriendListArgs ¶
type FriendListArgs struct {
Req *relation.RelationFriendListRequest
}
func (*FriendListArgs) FastWrite ¶
func (p *FriendListArgs) FastWrite(buf []byte) (n int)
func (*FriendListArgs) GetFirstArgument ¶
func (p *FriendListArgs) GetFirstArgument() interface{}
func (*FriendListArgs) GetReq ¶
func (p *FriendListArgs) GetReq() *relation.RelationFriendListRequest
func (*FriendListArgs) IsSetReq ¶
func (p *FriendListArgs) IsSetReq() bool
func (*FriendListArgs) Size ¶
func (p *FriendListArgs) Size() (n int)
func (*FriendListArgs) Unmarshal ¶
func (p *FriendListArgs) Unmarshal(in []byte) error
type FriendListResult ¶
type FriendListResult struct {
Success *relation.RelationFriendListResponse
}
func (*FriendListResult) FastWrite ¶
func (p *FriendListResult) FastWrite(buf []byte) (n int)
func (*FriendListResult) GetResult ¶
func (p *FriendListResult) GetResult() interface{}
func (*FriendListResult) GetSuccess ¶
func (p *FriendListResult) GetSuccess() *relation.RelationFriendListResponse
func (*FriendListResult) IsSetSuccess ¶
func (p *FriendListResult) IsSetSuccess() bool
func (*FriendListResult) SetSuccess ¶
func (p *FriendListResult) SetSuccess(x interface{})
func (*FriendListResult) Size ¶
func (p *FriendListResult) Size() (n int)
func (*FriendListResult) Unmarshal ¶
func (p *FriendListResult) Unmarshal(in []byte) error
type RelationActionArgs ¶
type RelationActionArgs struct {
Req *relation.RelationActionRequest
}
func (*RelationActionArgs) FastWrite ¶
func (p *RelationActionArgs) FastWrite(buf []byte) (n int)
func (*RelationActionArgs) GetFirstArgument ¶
func (p *RelationActionArgs) GetFirstArgument() interface{}
func (*RelationActionArgs) GetReq ¶
func (p *RelationActionArgs) GetReq() *relation.RelationActionRequest
func (*RelationActionArgs) IsSetReq ¶
func (p *RelationActionArgs) IsSetReq() bool
func (*RelationActionArgs) Marshal ¶
func (p *RelationActionArgs) Marshal(out []byte) ([]byte, error)
func (*RelationActionArgs) Size ¶
func (p *RelationActionArgs) Size() (n int)
func (*RelationActionArgs) Unmarshal ¶
func (p *RelationActionArgs) Unmarshal(in []byte) error
type RelationActionResult ¶
type RelationActionResult struct {
Success *relation.RelationActionResponse
}
func (*RelationActionResult) FastWrite ¶
func (p *RelationActionResult) FastWrite(buf []byte) (n int)
func (*RelationActionResult) GetResult ¶
func (p *RelationActionResult) GetResult() interface{}
func (*RelationActionResult) GetSuccess ¶
func (p *RelationActionResult) GetSuccess() *relation.RelationActionResponse
func (*RelationActionResult) IsSetSuccess ¶
func (p *RelationActionResult) IsSetSuccess() bool
func (*RelationActionResult) Marshal ¶
func (p *RelationActionResult) Marshal(out []byte) ([]byte, error)
func (*RelationActionResult) SetSuccess ¶
func (p *RelationActionResult) SetSuccess(x interface{})
func (*RelationActionResult) Size ¶
func (p *RelationActionResult) Size() (n int)
func (*RelationActionResult) Unmarshal ¶
func (p *RelationActionResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.