Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. 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 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) 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) 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
- type RelationFollowListArgs
- func (p *RelationFollowListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFollowListArgs) FastWrite(buf []byte) (n int)
- func (p *RelationFollowListArgs) GetReq() *relation.RelationFollowListRequest
- func (p *RelationFollowListArgs) IsSetReq() bool
- func (p *RelationFollowListArgs) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowListArgs) Size() (n int)
- func (p *RelationFollowListArgs) Unmarshal(in []byte) error
- type RelationFollowListResult
- func (p *RelationFollowListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFollowListResult) FastWrite(buf []byte) (n int)
- func (p *RelationFollowListResult) GetSuccess() *relation.RelationFollowListResponse
- func (p *RelationFollowListResult) IsSetSuccess() bool
- func (p *RelationFollowListResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowListResult) SetSuccess(x interface{})
- func (p *RelationFollowListResult) Size() (n int)
- func (p *RelationFollowListResult) Unmarshal(in []byte) error
- type RelationFollowerListArgs
- func (p *RelationFollowerListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFollowerListArgs) FastWrite(buf []byte) (n int)
- func (p *RelationFollowerListArgs) GetReq() *relation.RelationFollowerListRequest
- func (p *RelationFollowerListArgs) IsSetReq() bool
- func (p *RelationFollowerListArgs) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowerListArgs) Size() (n int)
- func (p *RelationFollowerListArgs) Unmarshal(in []byte) error
- type RelationFollowerListResult
- func (p *RelationFollowerListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFollowerListResult) FastWrite(buf []byte) (n int)
- func (p *RelationFollowerListResult) GetSuccess() *relation.RelationFollowerListResponse
- func (p *RelationFollowerListResult) IsSetSuccess() bool
- func (p *RelationFollowerListResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowerListResult) SetSuccess(x interface{})
- func (p *RelationFollowerListResult) Size() (n int)
- func (p *RelationFollowerListResult) Unmarshal(in []byte) error
- type RelationFriendListArgs
- func (p *RelationFriendListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFriendListArgs) FastWrite(buf []byte) (n int)
- func (p *RelationFriendListArgs) GetReq() *relation.RelationFriendListRequest
- func (p *RelationFriendListArgs) IsSetReq() bool
- func (p *RelationFriendListArgs) Marshal(out []byte) ([]byte, error)
- func (p *RelationFriendListArgs) Size() (n int)
- func (p *RelationFriendListArgs) Unmarshal(in []byte) error
- type RelationFriendListResult
- func (p *RelationFriendListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RelationFriendListResult) FastWrite(buf []byte) (n int)
- func (p *RelationFriendListResult) GetSuccess() *relation.RelationFriendListResponse
- func (p *RelationFriendListResult) IsSetSuccess() bool
- func (p *RelationFriendListResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationFriendListResult) SetSuccess(x interface{})
- func (p *RelationFriendListResult) Size() (n int)
- func (p *RelationFriendListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RelationActionArgs_Req_DEFAULT *relation.RelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *relation.RelationActionResponse
View Source
var RelationFollowListArgs_Req_DEFAULT *relation.RelationFollowListRequest
View Source
var RelationFollowListResult_Success_DEFAULT *relation.RelationFollowListResponse
View Source
var RelationFollowerListArgs_Req_DEFAULT *relation.RelationFollowerListRequest
View Source
var RelationFollowerListResult_Success_DEFAULT *relation.RelationFollowerListResponse
View Source
var RelationFriendListArgs_Req_DEFAULT *relation.RelationFriendListRequest
View Source
var RelationFriendListResult_Success_DEFAULT *relation.RelationFriendListResponse
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) RelationFollowList(ctx context.Context, Req *relation.RelationFollowListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowListResponse, err error) RelationFollowerList(ctx context.Context, Req *relation.RelationFollowerListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowerListResponse, err error) RelationFriendList(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 RelationActionArgs ¶
type RelationActionArgs struct {
Req *relation.RelationActionRequest
}
func (*RelationActionArgs) FastWrite ¶
func (p *RelationActionArgs) FastWrite(buf []byte) (n int)
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) 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
type RelationFollowListArgs ¶
type RelationFollowListArgs struct {
Req *relation.RelationFollowListRequest
}
func (*RelationFollowListArgs) FastWrite ¶
func (p *RelationFollowListArgs) FastWrite(buf []byte) (n int)
func (*RelationFollowListArgs) GetReq ¶
func (p *RelationFollowListArgs) GetReq() *relation.RelationFollowListRequest
func (*RelationFollowListArgs) IsSetReq ¶
func (p *RelationFollowListArgs) IsSetReq() bool
func (*RelationFollowListArgs) Marshal ¶
func (p *RelationFollowListArgs) Marshal(out []byte) ([]byte, error)
func (*RelationFollowListArgs) Size ¶
func (p *RelationFollowListArgs) Size() (n int)
func (*RelationFollowListArgs) Unmarshal ¶
func (p *RelationFollowListArgs) Unmarshal(in []byte) error
type RelationFollowListResult ¶
type RelationFollowListResult struct {
Success *relation.RelationFollowListResponse
}
func (*RelationFollowListResult) FastWrite ¶
func (p *RelationFollowListResult) FastWrite(buf []byte) (n int)
func (*RelationFollowListResult) GetSuccess ¶
func (p *RelationFollowListResult) GetSuccess() *relation.RelationFollowListResponse
func (*RelationFollowListResult) IsSetSuccess ¶
func (p *RelationFollowListResult) IsSetSuccess() bool
func (*RelationFollowListResult) Marshal ¶
func (p *RelationFollowListResult) Marshal(out []byte) ([]byte, error)
func (*RelationFollowListResult) SetSuccess ¶
func (p *RelationFollowListResult) SetSuccess(x interface{})
func (*RelationFollowListResult) Size ¶
func (p *RelationFollowListResult) Size() (n int)
func (*RelationFollowListResult) Unmarshal ¶
func (p *RelationFollowListResult) Unmarshal(in []byte) error
type RelationFollowerListArgs ¶
type RelationFollowerListArgs struct {
Req *relation.RelationFollowerListRequest
}
func (*RelationFollowerListArgs) FastWrite ¶
func (p *RelationFollowerListArgs) FastWrite(buf []byte) (n int)
func (*RelationFollowerListArgs) GetReq ¶
func (p *RelationFollowerListArgs) GetReq() *relation.RelationFollowerListRequest
func (*RelationFollowerListArgs) IsSetReq ¶
func (p *RelationFollowerListArgs) IsSetReq() bool
func (*RelationFollowerListArgs) Marshal ¶
func (p *RelationFollowerListArgs) Marshal(out []byte) ([]byte, error)
func (*RelationFollowerListArgs) Size ¶
func (p *RelationFollowerListArgs) Size() (n int)
func (*RelationFollowerListArgs) Unmarshal ¶
func (p *RelationFollowerListArgs) Unmarshal(in []byte) error
type RelationFollowerListResult ¶
type RelationFollowerListResult struct {
Success *relation.RelationFollowerListResponse
}
func (*RelationFollowerListResult) FastWrite ¶
func (p *RelationFollowerListResult) FastWrite(buf []byte) (n int)
func (*RelationFollowerListResult) GetSuccess ¶
func (p *RelationFollowerListResult) GetSuccess() *relation.RelationFollowerListResponse
func (*RelationFollowerListResult) IsSetSuccess ¶
func (p *RelationFollowerListResult) IsSetSuccess() bool
func (*RelationFollowerListResult) Marshal ¶
func (p *RelationFollowerListResult) Marshal(out []byte) ([]byte, error)
func (*RelationFollowerListResult) SetSuccess ¶
func (p *RelationFollowerListResult) SetSuccess(x interface{})
func (*RelationFollowerListResult) Size ¶
func (p *RelationFollowerListResult) Size() (n int)
func (*RelationFollowerListResult) Unmarshal ¶
func (p *RelationFollowerListResult) Unmarshal(in []byte) error
type RelationFriendListArgs ¶
type RelationFriendListArgs struct {
Req *relation.RelationFriendListRequest
}
func (*RelationFriendListArgs) FastWrite ¶
func (p *RelationFriendListArgs) FastWrite(buf []byte) (n int)
func (*RelationFriendListArgs) GetReq ¶
func (p *RelationFriendListArgs) GetReq() *relation.RelationFriendListRequest
func (*RelationFriendListArgs) IsSetReq ¶
func (p *RelationFriendListArgs) IsSetReq() bool
func (*RelationFriendListArgs) Marshal ¶
func (p *RelationFriendListArgs) Marshal(out []byte) ([]byte, error)
func (*RelationFriendListArgs) Size ¶
func (p *RelationFriendListArgs) Size() (n int)
func (*RelationFriendListArgs) Unmarshal ¶
func (p *RelationFriendListArgs) Unmarshal(in []byte) error
type RelationFriendListResult ¶
type RelationFriendListResult struct {
Success *relation.RelationFriendListResponse
}
func (*RelationFriendListResult) FastWrite ¶
func (p *RelationFriendListResult) FastWrite(buf []byte) (n int)
func (*RelationFriendListResult) GetSuccess ¶
func (p *RelationFriendListResult) GetSuccess() *relation.RelationFriendListResponse
func (*RelationFriendListResult) IsSetSuccess ¶
func (p *RelationFriendListResult) IsSetSuccess() bool
func (*RelationFriendListResult) Marshal ¶
func (p *RelationFriendListResult) Marshal(out []byte) ([]byte, error)
func (*RelationFriendListResult) SetSuccess ¶
func (p *RelationFriendListResult) SetSuccess(x interface{})
func (*RelationFriendListResult) Size ¶
func (p *RelationFriendListResult) Size() (n int)
func (*RelationFriendListResult) Unmarshal ¶
func (p *RelationFriendListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.