Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler relation.RelationSrv, opts ...server.Option) server.Invoker
- func NewServer(handler relation.RelationSrv, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type RelationActionArgs
- type RelationActionResult
- func (p *RelationActionResult) GetSuccess() *relation.DouyinRelationActionResponse
- 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
- type RelationFollowListArgs
- type RelationFollowListResult
- func (p *RelationFollowListResult) GetSuccess() *relation.DouyinRelationFollowListResponse
- func (p *RelationFollowListResult) IsSetSuccess() bool
- func (p *RelationFollowListResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowListResult) SetSuccess(x interface{})
- func (p *RelationFollowListResult) Unmarshal(in []byte) error
- type RelationFollowerListArgs
- type RelationFollowerListResult
- func (p *RelationFollowerListResult) GetSuccess() *relation.DouyinRelationFollowerListResponse
- func (p *RelationFollowerListResult) IsSetSuccess() bool
- func (p *RelationFollowerListResult) Marshal(out []byte) ([]byte, error)
- func (p *RelationFollowerListResult) SetSuccess(x interface{})
- func (p *RelationFollowerListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var RelationActionArgs_Req_DEFAULT *relation.DouyinRelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *relation.DouyinRelationActionResponse
View Source
var RelationFollowListArgs_Req_DEFAULT *relation.DouyinRelationFollowListRequest
View Source
var RelationFollowListResult_Success_DEFAULT *relation.DouyinRelationFollowListResponse
View Source
var RelationFollowerListArgs_Req_DEFAULT *relation.DouyinRelationFollowerListRequest
View Source
var RelationFollowerListResult_Success_DEFAULT *relation.DouyinRelationFollowerListResponse
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.DouyinRelationActionRequest, callOptions ...callopt.Option) (r *relation.DouyinRelationActionResponse, err error) RelationFollowList(ctx context.Context, Req *relation.DouyinRelationFollowListRequest, callOptions ...callopt.Option) (r *relation.DouyinRelationFollowListResponse, err error) RelationFollowerList(ctx context.Context, Req *relation.DouyinRelationFollowerListRequest, callOptions ...callopt.Option) (r *relation.DouyinRelationFollowerListResponse, 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.DouyinRelationActionRequest
}
func (*RelationActionArgs) GetReq ¶
func (p *RelationActionArgs) GetReq() *relation.DouyinRelationActionRequest
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.DouyinRelationActionResponse
}
func (*RelationActionResult) GetSuccess ¶
func (p *RelationActionResult) GetSuccess() *relation.DouyinRelationActionResponse
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
type RelationFollowListArgs ¶
type RelationFollowListArgs struct {
Req *relation.DouyinRelationFollowListRequest
}
func (*RelationFollowListArgs) GetReq ¶
func (p *RelationFollowListArgs) GetReq() *relation.DouyinRelationFollowListRequest
func (*RelationFollowListArgs) IsSetReq ¶
func (p *RelationFollowListArgs) IsSetReq() bool
func (*RelationFollowListArgs) Marshal ¶
func (p *RelationFollowListArgs) Marshal(out []byte) ([]byte, error)
func (*RelationFollowListArgs) Unmarshal ¶
func (p *RelationFollowListArgs) Unmarshal(in []byte) error
type RelationFollowListResult ¶
type RelationFollowListResult struct {
Success *relation.DouyinRelationFollowListResponse
}
func (*RelationFollowListResult) GetSuccess ¶
func (p *RelationFollowListResult) GetSuccess() *relation.DouyinRelationFollowListResponse
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) Unmarshal ¶
func (p *RelationFollowListResult) Unmarshal(in []byte) error
type RelationFollowerListArgs ¶
type RelationFollowerListArgs struct {
Req *relation.DouyinRelationFollowerListRequest
}
func (*RelationFollowerListArgs) GetReq ¶
func (p *RelationFollowerListArgs) GetReq() *relation.DouyinRelationFollowerListRequest
func (*RelationFollowerListArgs) IsSetReq ¶
func (p *RelationFollowerListArgs) IsSetReq() bool
func (*RelationFollowerListArgs) Marshal ¶
func (p *RelationFollowerListArgs) Marshal(out []byte) ([]byte, error)
func (*RelationFollowerListArgs) Unmarshal ¶
func (p *RelationFollowerListArgs) Unmarshal(in []byte) error
type RelationFollowerListResult ¶
type RelationFollowerListResult struct {
Success *relation.DouyinRelationFollowerListResponse
}
func (*RelationFollowerListResult) GetSuccess ¶
func (p *RelationFollowerListResult) GetSuccess() *relation.DouyinRelationFollowerListResponse
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) Unmarshal ¶
func (p *RelationFollowerListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.