relationsrv

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by Kitex v0.3.2. DO NOT EDIT.

Index

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

func NewInvoker(handler relation.RelationSrv, opts ...server.Option) server.Invoker

NewInvoker creates a server.Invoker with the given handler and options.

func NewServer

func NewServer(handler relation.RelationSrv, 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 *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

func MustNewClient(destService string, opts ...client.Option) Client

MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.

func NewClient

func NewClient(destService string, opts ...client.Option) (Client, error)

NewClient creates a client for the service defined in IDL.

type RelationActionArgs

type RelationActionArgs struct {
	Req *relation.DouyinRelationActionRequest
}

func (*RelationActionArgs) GetReq

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 (*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 (*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 (*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 (*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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL