Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. 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
- type FollowListResult
- type FollowerListArgs
- type FollowerListResult
- type RelationActionArgs
- type RelationActionResult
- 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) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FollowListArgs_Req_DEFAULT *relation.FollowListRequest
View Source
var FollowListResult_Success_DEFAULT *relation.FollowListResponse
View Source
var FollowerListArgs_Req_DEFAULT *relation.FollowerListRequest
View Source
var FollowerListResult_Success_DEFAULT *relation.FollowerListResponse
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.FollowListRequest, callOptions ...callopt.Option) (r *relation.FollowListResponse, err error) FollowerList(ctx context.Context, Req *relation.FollowerListRequest, callOptions ...callopt.Option) (r *relation.FollowerListResponse, 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.FollowListRequest
}
func (*FollowListArgs) GetReq ¶
func (p *FollowListArgs) GetReq() *relation.FollowListRequest
func (*FollowListArgs) IsSetReq ¶
func (p *FollowListArgs) IsSetReq() bool
func (*FollowListArgs) Unmarshal ¶
func (p *FollowListArgs) Unmarshal(in []byte) error
type FollowListResult ¶
type FollowListResult struct {
Success *relation.FollowListResponse
}
func (*FollowListResult) GetSuccess ¶
func (p *FollowListResult) GetSuccess() *relation.FollowListResponse
func (*FollowListResult) IsSetSuccess ¶
func (p *FollowListResult) IsSetSuccess() bool
func (*FollowListResult) SetSuccess ¶
func (p *FollowListResult) SetSuccess(x interface{})
func (*FollowListResult) Unmarshal ¶
func (p *FollowListResult) Unmarshal(in []byte) error
type FollowerListArgs ¶
type FollowerListArgs struct {
Req *relation.FollowerListRequest
}
func (*FollowerListArgs) GetReq ¶
func (p *FollowerListArgs) GetReq() *relation.FollowerListRequest
func (*FollowerListArgs) IsSetReq ¶
func (p *FollowerListArgs) IsSetReq() bool
func (*FollowerListArgs) Unmarshal ¶
func (p *FollowerListArgs) Unmarshal(in []byte) error
type FollowerListResult ¶
type FollowerListResult struct {
Success *relation.FollowerListResponse
}
func (*FollowerListResult) GetSuccess ¶
func (p *FollowerListResult) GetSuccess() *relation.FollowerListResponse
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) Unmarshal ¶
func (p *FollowerListResult) Unmarshal(in []byte) error
type RelationActionArgs ¶
type RelationActionArgs struct {
Req *relation.RelationActionRequest
}
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) Unmarshal ¶
func (p *RelationActionArgs) Unmarshal(in []byte) error
type RelationActionResult ¶
type RelationActionResult struct {
Success *relation.RelationActionResponse
}
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) Unmarshal ¶
func (p *RelationActionResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.