Documentation
¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler RelationServer.RelationService, opts ...server.Option) server.Invoker
- func NewServer(handler RelationServer.RelationService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type MGetRelationFollowListArgs
- func (p *MGetRelationFollowListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetRelationFollowListArgs) FastWrite(buf []byte) (n int)
- func (p *MGetRelationFollowListArgs) GetReq() *RelationServer.DouyinRelationFollowListRequest
- func (p *MGetRelationFollowListArgs) IsSetReq() bool
- func (p *MGetRelationFollowListArgs) Marshal(out []byte) ([]byte, error)
- func (p *MGetRelationFollowListArgs) Size() (n int)
- func (p *MGetRelationFollowListArgs) Unmarshal(in []byte) error
- type MGetRelationFollowListResult
- func (p *MGetRelationFollowListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetRelationFollowListResult) FastWrite(buf []byte) (n int)
- func (p *MGetRelationFollowListResult) GetSuccess() *RelationServer.DouyinRelationFollowListResponse
- func (p *MGetRelationFollowListResult) IsSetSuccess() bool
- func (p *MGetRelationFollowListResult) Marshal(out []byte) ([]byte, error)
- func (p *MGetRelationFollowListResult) SetSuccess(x interface{})
- func (p *MGetRelationFollowListResult) Size() (n int)
- func (p *MGetRelationFollowListResult) Unmarshal(in []byte) error
- type MGetUserRelationFollowerListArgs
- func (p *MGetUserRelationFollowerListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetUserRelationFollowerListArgs) FastWrite(buf []byte) (n int)
- func (p *MGetUserRelationFollowerListArgs) GetReq() *RelationServer.DouyinRelationFollowerListRequest
- func (p *MGetUserRelationFollowerListArgs) IsSetReq() bool
- func (p *MGetUserRelationFollowerListArgs) Marshal(out []byte) ([]byte, error)
- func (p *MGetUserRelationFollowerListArgs) Size() (n int)
- func (p *MGetUserRelationFollowerListArgs) Unmarshal(in []byte) error
- type MGetUserRelationFollowerListResult
- func (p *MGetUserRelationFollowerListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetUserRelationFollowerListResult) FastWrite(buf []byte) (n int)
- func (p *MGetUserRelationFollowerListResult) GetSuccess() *RelationServer.DouyinRelationFollowerListResponse
- func (p *MGetUserRelationFollowerListResult) IsSetSuccess() bool
- func (p *MGetUserRelationFollowerListResult) Marshal(out []byte) ([]byte, error)
- func (p *MGetUserRelationFollowerListResult) SetSuccess(x interface{})
- func (p *MGetUserRelationFollowerListResult) Size() (n int)
- func (p *MGetUserRelationFollowerListResult) Unmarshal(in []byte) error
- type QueryRelationArgs
- func (p *QueryRelationArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryRelationArgs) FastWrite(buf []byte) (n int)
- func (p *QueryRelationArgs) GetReq() *RelationServer.DouyinQueryRelationRequest
- func (p *QueryRelationArgs) IsSetReq() bool
- func (p *QueryRelationArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryRelationArgs) Size() (n int)
- func (p *QueryRelationArgs) Unmarshal(in []byte) error
- type QueryRelationResult
- func (p *QueryRelationResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryRelationResult) FastWrite(buf []byte) (n int)
- func (p *QueryRelationResult) GetSuccess() *RelationServer.DouyinQueryRelationResponse
- func (p *QueryRelationResult) IsSetSuccess() bool
- func (p *QueryRelationResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryRelationResult) SetSuccess(x interface{})
- func (p *QueryRelationResult) Size() (n int)
- func (p *QueryRelationResult) 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) GetReq() *RelationServer.DouyinRelationActionRequest
- 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() *RelationServer.DouyinRelationActionResponse
- 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 MGetRelationFollowListArgs_Req_DEFAULT *RelationServer.DouyinRelationFollowListRequest
View Source
var MGetRelationFollowListResult_Success_DEFAULT *RelationServer.DouyinRelationFollowListResponse
View Source
var MGetUserRelationFollowerListArgs_Req_DEFAULT *RelationServer.DouyinRelationFollowerListRequest
View Source
var MGetUserRelationFollowerListResult_Success_DEFAULT *RelationServer.DouyinRelationFollowerListResponse
View Source
var QueryRelationArgs_Req_DEFAULT *RelationServer.DouyinQueryRelationRequest
View Source
var QueryRelationResult_Success_DEFAULT *RelationServer.DouyinQueryRelationResponse
View Source
var RelationActionArgs_Req_DEFAULT *RelationServer.DouyinRelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *RelationServer.DouyinRelationActionResponse
Functions ¶
func NewInvoker ¶
func NewInvoker(handler RelationServer.RelationService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler RelationServer.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 Client ¶
type Client interface { RelationAction(ctx context.Context, Req *RelationServer.DouyinRelationActionRequest, callOptions ...callopt.Option) (r *RelationServer.DouyinRelationActionResponse, err error) MGetRelationFollowList(ctx context.Context, Req *RelationServer.DouyinRelationFollowListRequest, callOptions ...callopt.Option) (r *RelationServer.DouyinRelationFollowListResponse, err error) MGetUserRelationFollowerList(ctx context.Context, Req *RelationServer.DouyinRelationFollowerListRequest, callOptions ...callopt.Option) (r *RelationServer.DouyinRelationFollowerListResponse, err error) QueryRelation(ctx context.Context, Req *RelationServer.DouyinQueryRelationRequest, callOptions ...callopt.Option) (r *RelationServer.DouyinQueryRelationResponse, 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 MGetRelationFollowListArgs ¶
type MGetRelationFollowListArgs struct {
Req *RelationServer.DouyinRelationFollowListRequest
}
func (*MGetRelationFollowListArgs) FastWrite ¶
func (p *MGetRelationFollowListArgs) FastWrite(buf []byte) (n int)
func (*MGetRelationFollowListArgs) GetReq ¶
func (p *MGetRelationFollowListArgs) GetReq() *RelationServer.DouyinRelationFollowListRequest
func (*MGetRelationFollowListArgs) IsSetReq ¶
func (p *MGetRelationFollowListArgs) IsSetReq() bool
func (*MGetRelationFollowListArgs) Marshal ¶
func (p *MGetRelationFollowListArgs) Marshal(out []byte) ([]byte, error)
func (*MGetRelationFollowListArgs) Size ¶
func (p *MGetRelationFollowListArgs) Size() (n int)
func (*MGetRelationFollowListArgs) Unmarshal ¶
func (p *MGetRelationFollowListArgs) Unmarshal(in []byte) error
type MGetRelationFollowListResult ¶
type MGetRelationFollowListResult struct {
Success *RelationServer.DouyinRelationFollowListResponse
}
func (*MGetRelationFollowListResult) FastWrite ¶
func (p *MGetRelationFollowListResult) FastWrite(buf []byte) (n int)
func (*MGetRelationFollowListResult) GetSuccess ¶
func (p *MGetRelationFollowListResult) GetSuccess() *RelationServer.DouyinRelationFollowListResponse
func (*MGetRelationFollowListResult) IsSetSuccess ¶
func (p *MGetRelationFollowListResult) IsSetSuccess() bool
func (*MGetRelationFollowListResult) Marshal ¶
func (p *MGetRelationFollowListResult) Marshal(out []byte) ([]byte, error)
func (*MGetRelationFollowListResult) SetSuccess ¶
func (p *MGetRelationFollowListResult) SetSuccess(x interface{})
func (*MGetRelationFollowListResult) Size ¶
func (p *MGetRelationFollowListResult) Size() (n int)
func (*MGetRelationFollowListResult) Unmarshal ¶
func (p *MGetRelationFollowListResult) Unmarshal(in []byte) error
type MGetUserRelationFollowerListArgs ¶
type MGetUserRelationFollowerListArgs struct {
Req *RelationServer.DouyinRelationFollowerListRequest
}
func (*MGetUserRelationFollowerListArgs) FastWrite ¶
func (p *MGetUserRelationFollowerListArgs) FastWrite(buf []byte) (n int)
func (*MGetUserRelationFollowerListArgs) GetReq ¶
func (p *MGetUserRelationFollowerListArgs) GetReq() *RelationServer.DouyinRelationFollowerListRequest
func (*MGetUserRelationFollowerListArgs) IsSetReq ¶
func (p *MGetUserRelationFollowerListArgs) IsSetReq() bool
func (*MGetUserRelationFollowerListArgs) Marshal ¶
func (p *MGetUserRelationFollowerListArgs) Marshal(out []byte) ([]byte, error)
func (*MGetUserRelationFollowerListArgs) Size ¶
func (p *MGetUserRelationFollowerListArgs) Size() (n int)
func (*MGetUserRelationFollowerListArgs) Unmarshal ¶
func (p *MGetUserRelationFollowerListArgs) Unmarshal(in []byte) error
type MGetUserRelationFollowerListResult ¶
type MGetUserRelationFollowerListResult struct {
Success *RelationServer.DouyinRelationFollowerListResponse
}
func (*MGetUserRelationFollowerListResult) FastWrite ¶
func (p *MGetUserRelationFollowerListResult) FastWrite(buf []byte) (n int)
func (*MGetUserRelationFollowerListResult) GetSuccess ¶
func (p *MGetUserRelationFollowerListResult) GetSuccess() *RelationServer.DouyinRelationFollowerListResponse
func (*MGetUserRelationFollowerListResult) IsSetSuccess ¶
func (p *MGetUserRelationFollowerListResult) IsSetSuccess() bool
func (*MGetUserRelationFollowerListResult) Marshal ¶
func (p *MGetUserRelationFollowerListResult) Marshal(out []byte) ([]byte, error)
func (*MGetUserRelationFollowerListResult) SetSuccess ¶
func (p *MGetUserRelationFollowerListResult) SetSuccess(x interface{})
func (*MGetUserRelationFollowerListResult) Size ¶
func (p *MGetUserRelationFollowerListResult) Size() (n int)
func (*MGetUserRelationFollowerListResult) Unmarshal ¶
func (p *MGetUserRelationFollowerListResult) Unmarshal(in []byte) error
type QueryRelationArgs ¶
type QueryRelationArgs struct {
Req *RelationServer.DouyinQueryRelationRequest
}
func (*QueryRelationArgs) FastWrite ¶
func (p *QueryRelationArgs) FastWrite(buf []byte) (n int)
func (*QueryRelationArgs) GetReq ¶
func (p *QueryRelationArgs) GetReq() *RelationServer.DouyinQueryRelationRequest
func (*QueryRelationArgs) IsSetReq ¶
func (p *QueryRelationArgs) IsSetReq() bool
func (*QueryRelationArgs) Size ¶
func (p *QueryRelationArgs) Size() (n int)
func (*QueryRelationArgs) Unmarshal ¶
func (p *QueryRelationArgs) Unmarshal(in []byte) error
type QueryRelationResult ¶
type QueryRelationResult struct {
Success *RelationServer.DouyinQueryRelationResponse
}
func (*QueryRelationResult) FastWrite ¶
func (p *QueryRelationResult) FastWrite(buf []byte) (n int)
func (*QueryRelationResult) GetSuccess ¶
func (p *QueryRelationResult) GetSuccess() *RelationServer.DouyinQueryRelationResponse
func (*QueryRelationResult) IsSetSuccess ¶
func (p *QueryRelationResult) IsSetSuccess() bool
func (*QueryRelationResult) Marshal ¶
func (p *QueryRelationResult) Marshal(out []byte) ([]byte, error)
func (*QueryRelationResult) SetSuccess ¶
func (p *QueryRelationResult) SetSuccess(x interface{})
func (*QueryRelationResult) Size ¶
func (p *QueryRelationResult) Size() (n int)
func (*QueryRelationResult) Unmarshal ¶
func (p *QueryRelationResult) Unmarshal(in []byte) error
type RelationActionArgs ¶
type RelationActionArgs struct {
Req *RelationServer.DouyinRelationActionRequest
}
func (*RelationActionArgs) FastWrite ¶
func (p *RelationActionArgs) FastWrite(buf []byte) (n int)
func (*RelationActionArgs) GetReq ¶
func (p *RelationActionArgs) GetReq() *RelationServer.DouyinRelationActionRequest
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 *RelationServer.DouyinRelationActionResponse
}
func (*RelationActionResult) FastWrite ¶
func (p *RelationActionResult) FastWrite(buf []byte) (n int)
func (*RelationActionResult) GetSuccess ¶
func (p *RelationActionResult) GetSuccess() *RelationServer.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) 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.