relationservice

package
v0.0.0-...-dfc68d5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Overview

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

Index

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 FriendListArgs_Req_DEFAULT *relation.FriendListRequest
View Source
var FriendListResult_Success_DEFAULT *relation.FriendListResponse
View Source
var RelationActionArgs_Req_DEFAULT *relation.RelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *relation.RelationActionResponse

Functions

func NewInvoker

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

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

func NewServer

func NewServer(handler relation.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 *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)
	FriendList(ctx context.Context, Req *relation.FriendListRequest, callOptions ...callopt.Option) (r *relation.FriendListResponse, 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 FollowListArgs

type FollowListArgs struct {
	Req *relation.FollowListRequest
}

func (*FollowListArgs) FastRead

func (p *FollowListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FollowListArgs) FastWrite

func (p *FollowListArgs) FastWrite(buf []byte) (n int)

func (*FollowListArgs) GetReq

func (*FollowListArgs) IsSetReq

func (p *FollowListArgs) IsSetReq() bool

func (*FollowListArgs) Marshal

func (p *FollowListArgs) Marshal(out []byte) ([]byte, error)

func (*FollowListArgs) Size

func (p *FollowListArgs) Size() (n int)

func (*FollowListArgs) Unmarshal

func (p *FollowListArgs) Unmarshal(in []byte) error

type FollowListResult

type FollowListResult struct {
	Success *relation.FollowListResponse
}

func (*FollowListResult) FastRead

func (p *FollowListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FollowListResult) FastWrite

func (p *FollowListResult) FastWrite(buf []byte) (n int)

func (*FollowListResult) GetSuccess

func (p *FollowListResult) GetSuccess() *relation.FollowListResponse

func (*FollowListResult) IsSetSuccess

func (p *FollowListResult) IsSetSuccess() bool

func (*FollowListResult) Marshal

func (p *FollowListResult) Marshal(out []byte) ([]byte, error)

func (*FollowListResult) SetSuccess

func (p *FollowListResult) SetSuccess(x interface{})

func (*FollowListResult) Size

func (p *FollowListResult) Size() (n int)

func (*FollowListResult) Unmarshal

func (p *FollowListResult) Unmarshal(in []byte) error

type FollowerListArgs

type FollowerListArgs struct {
	Req *relation.FollowerListRequest
}

func (*FollowerListArgs) FastRead

func (p *FollowerListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FollowerListArgs) FastWrite

func (p *FollowerListArgs) FastWrite(buf []byte) (n int)

func (*FollowerListArgs) GetReq

func (*FollowerListArgs) IsSetReq

func (p *FollowerListArgs) IsSetReq() bool

func (*FollowerListArgs) Marshal

func (p *FollowerListArgs) Marshal(out []byte) ([]byte, error)

func (*FollowerListArgs) Size

func (p *FollowerListArgs) Size() (n int)

func (*FollowerListArgs) Unmarshal

func (p *FollowerListArgs) Unmarshal(in []byte) error

type FollowerListResult

type FollowerListResult struct {
	Success *relation.FollowerListResponse
}

func (*FollowerListResult) FastRead

func (p *FollowerListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FollowerListResult) FastWrite

func (p *FollowerListResult) FastWrite(buf []byte) (n int)

func (*FollowerListResult) GetSuccess

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) Size

func (p *FollowerListResult) Size() (n int)

func (*FollowerListResult) Unmarshal

func (p *FollowerListResult) Unmarshal(in []byte) error

type FriendListArgs

type FriendListArgs struct {
	Req *relation.FriendListRequest
}

func (*FriendListArgs) FastRead

func (p *FriendListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FriendListArgs) FastWrite

func (p *FriendListArgs) FastWrite(buf []byte) (n int)

func (*FriendListArgs) GetReq

func (*FriendListArgs) IsSetReq

func (p *FriendListArgs) IsSetReq() bool

func (*FriendListArgs) Marshal

func (p *FriendListArgs) Marshal(out []byte) ([]byte, error)

func (*FriendListArgs) Size

func (p *FriendListArgs) Size() (n int)

func (*FriendListArgs) Unmarshal

func (p *FriendListArgs) Unmarshal(in []byte) error

type FriendListResult

type FriendListResult struct {
	Success *relation.FriendListResponse
}

func (*FriendListResult) FastRead

func (p *FriendListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*FriendListResult) FastWrite

func (p *FriendListResult) FastWrite(buf []byte) (n int)

func (*FriendListResult) GetSuccess

func (p *FriendListResult) GetSuccess() *relation.FriendListResponse

func (*FriendListResult) IsSetSuccess

func (p *FriendListResult) IsSetSuccess() bool

func (*FriendListResult) Marshal

func (p *FriendListResult) Marshal(out []byte) ([]byte, error)

func (*FriendListResult) SetSuccess

func (p *FriendListResult) SetSuccess(x interface{})

func (*FriendListResult) Size

func (p *FriendListResult) Size() (n int)

func (*FriendListResult) Unmarshal

func (p *FriendListResult) Unmarshal(in []byte) error

type RelationActionArgs

type RelationActionArgs struct {
	Req *relation.RelationActionRequest
}

func (*RelationActionArgs) FastRead

func (p *RelationActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*RelationActionArgs) FastWrite

func (p *RelationActionArgs) FastWrite(buf []byte) (n int)

func (*RelationActionArgs) GetReq

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) FastRead

func (p *RelationActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*RelationActionResult) FastWrite

func (p *RelationActionResult) FastWrite(buf []byte) (n int)

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) Size

func (p *RelationActionResult) Size() (n int)

func (*RelationActionResult) Unmarshal

func (p *RelationActionResult) Unmarshal(in []byte) error

Jump to

Keyboard shortcuts

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