relationservice

package
v0.0.0-...-f9b5f64 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var RelationActionArgs_Req_DEFAULT *relation.RelationActionRequest
View Source
var RelationActionResult_Success_DEFAULT *relation.RelationActionResponse
View Source
var RelationFollowListArgs_Req_DEFAULT *relation.RelationFollowListRequest
View Source
var RelationFollowListResult_Success_DEFAULT *relation.RelationFollowListResponse
View Source
var RelationFollowerListArgs_Req_DEFAULT *relation.RelationFollowerListRequest
View Source
var RelationFollowerListResult_Success_DEFAULT *relation.RelationFollowerListResponse
View Source
var RelationFriendListArgs_Req_DEFAULT *relation.RelationFriendListRequest
View Source
var RelationFriendListResult_Success_DEFAULT *relation.RelationFriendListResponse

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)
	RelationFollowList(ctx context.Context, Req *relation.RelationFollowListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowListResponse, err error)
	RelationFollowerList(ctx context.Context, Req *relation.RelationFollowerListRequest, callOptions ...callopt.Option) (r *relation.RelationFollowerListResponse, err error)
	RelationFriendList(ctx context.Context, Req *relation.RelationFriendListRequest, callOptions ...callopt.Option) (r *relation.RelationFriendListResponse, 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.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

type RelationFollowListArgs

type RelationFollowListArgs struct {
	Req *relation.RelationFollowListRequest
}

func (*RelationFollowListArgs) FastRead

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

func (*RelationFollowListArgs) FastWrite

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

func (*RelationFollowListArgs) GetReq

func (*RelationFollowListArgs) IsSetReq

func (p *RelationFollowListArgs) IsSetReq() bool

func (*RelationFollowListArgs) Marshal

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

func (*RelationFollowListArgs) Size

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

func (*RelationFollowListArgs) Unmarshal

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

type RelationFollowListResult

type RelationFollowListResult struct {
	Success *relation.RelationFollowListResponse
}

func (*RelationFollowListResult) FastRead

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

func (*RelationFollowListResult) FastWrite

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

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

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

func (*RelationFollowListResult) Unmarshal

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

type RelationFollowerListArgs

type RelationFollowerListArgs struct {
	Req *relation.RelationFollowerListRequest
}

func (*RelationFollowerListArgs) FastRead

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

func (*RelationFollowerListArgs) FastWrite

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

func (*RelationFollowerListArgs) GetReq

func (*RelationFollowerListArgs) IsSetReq

func (p *RelationFollowerListArgs) IsSetReq() bool

func (*RelationFollowerListArgs) Marshal

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

func (*RelationFollowerListArgs) Size

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

func (*RelationFollowerListArgs) Unmarshal

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

type RelationFollowerListResult

type RelationFollowerListResult struct {
	Success *relation.RelationFollowerListResponse
}

func (*RelationFollowerListResult) FastRead

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

func (*RelationFollowerListResult) FastWrite

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

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

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

func (*RelationFollowerListResult) Unmarshal

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

type RelationFriendListArgs

type RelationFriendListArgs struct {
	Req *relation.RelationFriendListRequest
}

func (*RelationFriendListArgs) FastRead

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

func (*RelationFriendListArgs) FastWrite

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

func (*RelationFriendListArgs) GetReq

func (*RelationFriendListArgs) IsSetReq

func (p *RelationFriendListArgs) IsSetReq() bool

func (*RelationFriendListArgs) Marshal

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

func (*RelationFriendListArgs) Size

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

func (*RelationFriendListArgs) Unmarshal

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

type RelationFriendListResult

type RelationFriendListResult struct {
	Success *relation.RelationFriendListResponse
}

func (*RelationFriendListResult) FastRead

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

func (*RelationFriendListResult) FastWrite

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

func (*RelationFriendListResult) GetSuccess

func (*RelationFriendListResult) IsSetSuccess

func (p *RelationFriendListResult) IsSetSuccess() bool

func (*RelationFriendListResult) Marshal

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

func (*RelationFriendListResult) SetSuccess

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

func (*RelationFriendListResult) Size

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

func (*RelationFriendListResult) Unmarshal

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

Jump to

Keyboard shortcuts

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