relationservice

package
v0.0.0-...-48d44df Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 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 ActionArgs_Req_DEFAULT *relation_rpc.RPCRelationActionReq
View Source
var ActionResult_Success_DEFAULT *relation_rpc.RPCRelationActionResp
View Source
var CheckFollowArgs_Req_DEFAULT *relation_rpc.RPCCheckFollowReq
View Source
var CheckFollowResult_Success_DEFAULT *relation_rpc.RPCCheckFollowResp
View Source
var FollowListArgs_Req_DEFAULT *relation_rpc.RPCRelationFollowListReq
View Source
var FollowListResult_Success_DEFAULT *relation_rpc.RPCRelationFollowListResp
View Source
var FollowerListArgs_Req_DEFAULT *relation_rpc.RPCRelationFollowerListReq
View Source
var FollowerListResult_Success_DEFAULT *relation_rpc.RPCRelationFollowerListResp

Functions

func NewInvoker

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

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

func NewServer

func NewServer(handler relation_rpc.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 ActionArgs

type ActionArgs struct {
	Req *relation_rpc.RPCRelationActionReq
}

func (*ActionArgs) FastRead

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

func (*ActionArgs) FastWrite

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

func (*ActionArgs) GetReq

func (*ActionArgs) IsSetReq

func (p *ActionArgs) IsSetReq() bool

func (*ActionArgs) Marshal

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

func (*ActionArgs) Size

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

func (*ActionArgs) Unmarshal

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

type ActionResult

type ActionResult struct {
	Success *relation_rpc.RPCRelationActionResp
}

func (*ActionResult) FastRead

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

func (*ActionResult) FastWrite

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

func (*ActionResult) GetSuccess

func (*ActionResult) IsSetSuccess

func (p *ActionResult) IsSetSuccess() bool

func (*ActionResult) Marshal

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

func (*ActionResult) SetSuccess

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

func (*ActionResult) Size

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

func (*ActionResult) Unmarshal

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

type CheckFollowArgs

type CheckFollowArgs struct {
	Req *relation_rpc.RPCCheckFollowReq
}

func (*CheckFollowArgs) FastRead

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

func (*CheckFollowArgs) FastWrite

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

func (*CheckFollowArgs) GetReq

func (*CheckFollowArgs) IsSetReq

func (p *CheckFollowArgs) IsSetReq() bool

func (*CheckFollowArgs) Marshal

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

func (*CheckFollowArgs) Size

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

func (*CheckFollowArgs) Unmarshal

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

type CheckFollowResult

type CheckFollowResult struct {
	Success *relation_rpc.RPCCheckFollowResp
}

func (*CheckFollowResult) FastRead

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

func (*CheckFollowResult) FastWrite

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

func (*CheckFollowResult) GetSuccess

func (*CheckFollowResult) IsSetSuccess

func (p *CheckFollowResult) IsSetSuccess() bool

func (*CheckFollowResult) Marshal

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

func (*CheckFollowResult) SetSuccess

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

func (*CheckFollowResult) Size

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

func (*CheckFollowResult) Unmarshal

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

type Client

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_rpc.RPCRelationFollowListReq
}

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_rpc.RPCRelationFollowListResp
}

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 (*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_rpc.RPCRelationFollowerListReq
}

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_rpc.RPCRelationFollowerListResp
}

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

Jump to

Keyboard shortcuts

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