like

package
v0.0.0-...-312508d Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var DoLikeArgs_Req_DEFAULT *core_api.DoLikeReq
View Source
var DoLikeResult_Success_DEFAULT *core_api.DoLikeResp
View Source
var GetLikedCountArgs_Req_DEFAULT *core_api.GetLikedCountReq
View Source
var GetLikedCountResult_Success_DEFAULT *core_api.GetLikedCountResp
View Source
var GetLikedUsersArgs_Req_DEFAULT *core_api.GetLikedUsersReq
View Source
var GetLikedUsersResult_Success_DEFAULT *core_api.GetLikedUsersResp
View Source
var GetUserLikeContentsArgs_Req_DEFAULT *core_api.GetUserLikeContentsReq
View Source
var GetUserLikeContentsResult_Success_DEFAULT *core_api.GetUserLikeContentsResp
View Source
var GetUserLikedArgs_Req_DEFAULT *core_api.GetUserLikedReq
View Source
var GetUserLikedResult_Success_DEFAULT *core_api.GetUserLikedResp
View Source
var GetUserLikesArgs_Req_DEFAULT *core_api.GetUserLikesReq
View Source
var GetUserLikesResult_Success_DEFAULT *core_api.GetUserLikesResp

Functions

func NewInvoker

func NewInvoker(handler core_api.Like, opts ...server.Option) server.Invoker

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

func NewServer

func NewServer(handler core_api.Like, opts ...server.Option) server.Server

NewServer creates a server.Server with the given handler and options.

func NewServiceInfo

func NewServiceInfo() *kitex.ServiceInfo

NewServiceInfo creates a new ServiceInfo containing all methods

func NewServiceInfoForClient

func NewServiceInfoForClient() *kitex.ServiceInfo

NewServiceInfo creates a new ServiceInfo containing non-streaming methods

func NewServiceInfoForStreamClient

func NewServiceInfoForStreamClient() *kitex.ServiceInfo

func RegisterService

func RegisterService(svr server.Server, handler core_api.Like, opts ...server.RegisterOption) error

Types

type Client

type Client interface {
	DoLike(ctx context.Context, Req *core_api.DoLikeReq, callOptions ...callopt.Option) (r *core_api.DoLikeResp, err error)
	GetUserLiked(ctx context.Context, Req *core_api.GetUserLikedReq, callOptions ...callopt.Option) (r *core_api.GetUserLikedResp, err error)
	GetLikedCount(ctx context.Context, Req *core_api.GetLikedCountReq, callOptions ...callopt.Option) (r *core_api.GetLikedCountResp, err error)
	GetLikedUsers(ctx context.Context, Req *core_api.GetLikedUsersReq, callOptions ...callopt.Option) (r *core_api.GetLikedUsersResp, err error)
	GetUserLikes(ctx context.Context, Req *core_api.GetUserLikesReq, callOptions ...callopt.Option) (r *core_api.GetUserLikesResp, err error)
	GetUserLikeContents(ctx context.Context, Req *core_api.GetUserLikeContentsReq, callOptions ...callopt.Option) (r *core_api.GetUserLikeContentsResp, 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 DoLikeArgs

type DoLikeArgs struct {
	Req *core_api.DoLikeReq
}

func (*DoLikeArgs) FastRead

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

func (*DoLikeArgs) FastWrite

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

func (*DoLikeArgs) GetFirstArgument

func (p *DoLikeArgs) GetFirstArgument() interface{}

func (*DoLikeArgs) GetReq

func (p *DoLikeArgs) GetReq() *core_api.DoLikeReq

func (*DoLikeArgs) IsSetReq

func (p *DoLikeArgs) IsSetReq() bool

func (*DoLikeArgs) Marshal

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

func (*DoLikeArgs) Size

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

func (*DoLikeArgs) Unmarshal

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

type DoLikeResult

type DoLikeResult struct {
	Success *core_api.DoLikeResp
}

func (*DoLikeResult) FastRead

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

func (*DoLikeResult) FastWrite

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

func (*DoLikeResult) GetResult

func (p *DoLikeResult) GetResult() interface{}

func (*DoLikeResult) GetSuccess

func (p *DoLikeResult) GetSuccess() *core_api.DoLikeResp

func (*DoLikeResult) IsSetSuccess

func (p *DoLikeResult) IsSetSuccess() bool

func (*DoLikeResult) Marshal

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

func (*DoLikeResult) SetSuccess

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

func (*DoLikeResult) Size

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

func (*DoLikeResult) Unmarshal

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

type GetLikedCountArgs

type GetLikedCountArgs struct {
	Req *core_api.GetLikedCountReq
}

func (*GetLikedCountArgs) FastRead

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

func (*GetLikedCountArgs) FastWrite

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

func (*GetLikedCountArgs) GetFirstArgument

func (p *GetLikedCountArgs) GetFirstArgument() interface{}

func (*GetLikedCountArgs) GetReq

func (*GetLikedCountArgs) IsSetReq

func (p *GetLikedCountArgs) IsSetReq() bool

func (*GetLikedCountArgs) Marshal

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

func (*GetLikedCountArgs) Size

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

func (*GetLikedCountArgs) Unmarshal

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

type GetLikedCountResult

type GetLikedCountResult struct {
	Success *core_api.GetLikedCountResp
}

func (*GetLikedCountResult) FastRead

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

func (*GetLikedCountResult) FastWrite

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

func (*GetLikedCountResult) GetResult

func (p *GetLikedCountResult) GetResult() interface{}

func (*GetLikedCountResult) GetSuccess

func (*GetLikedCountResult) IsSetSuccess

func (p *GetLikedCountResult) IsSetSuccess() bool

func (*GetLikedCountResult) Marshal

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

func (*GetLikedCountResult) SetSuccess

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

func (*GetLikedCountResult) Size

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

func (*GetLikedCountResult) Unmarshal

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

type GetLikedUsersArgs

type GetLikedUsersArgs struct {
	Req *core_api.GetLikedUsersReq
}

func (*GetLikedUsersArgs) FastRead

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

func (*GetLikedUsersArgs) FastWrite

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

func (*GetLikedUsersArgs) GetFirstArgument

func (p *GetLikedUsersArgs) GetFirstArgument() interface{}

func (*GetLikedUsersArgs) GetReq

func (*GetLikedUsersArgs) IsSetReq

func (p *GetLikedUsersArgs) IsSetReq() bool

func (*GetLikedUsersArgs) Marshal

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

func (*GetLikedUsersArgs) Size

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

func (*GetLikedUsersArgs) Unmarshal

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

type GetLikedUsersResult

type GetLikedUsersResult struct {
	Success *core_api.GetLikedUsersResp
}

func (*GetLikedUsersResult) FastRead

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

func (*GetLikedUsersResult) FastWrite

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

func (*GetLikedUsersResult) GetResult

func (p *GetLikedUsersResult) GetResult() interface{}

func (*GetLikedUsersResult) GetSuccess

func (*GetLikedUsersResult) IsSetSuccess

func (p *GetLikedUsersResult) IsSetSuccess() bool

func (*GetLikedUsersResult) Marshal

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

func (*GetLikedUsersResult) SetSuccess

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

func (*GetLikedUsersResult) Size

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

func (*GetLikedUsersResult) Unmarshal

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

type GetUserLikeContentsArgs

type GetUserLikeContentsArgs struct {
	Req *core_api.GetUserLikeContentsReq
}

func (*GetUserLikeContentsArgs) FastRead

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

func (*GetUserLikeContentsArgs) FastWrite

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

func (*GetUserLikeContentsArgs) GetFirstArgument

func (p *GetUserLikeContentsArgs) GetFirstArgument() interface{}

func (*GetUserLikeContentsArgs) GetReq

func (*GetUserLikeContentsArgs) IsSetReq

func (p *GetUserLikeContentsArgs) IsSetReq() bool

func (*GetUserLikeContentsArgs) Marshal

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

func (*GetUserLikeContentsArgs) Size

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

func (*GetUserLikeContentsArgs) Unmarshal

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

type GetUserLikeContentsResult

type GetUserLikeContentsResult struct {
	Success *core_api.GetUserLikeContentsResp
}

func (*GetUserLikeContentsResult) FastRead

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

func (*GetUserLikeContentsResult) FastWrite

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

func (*GetUserLikeContentsResult) GetResult

func (p *GetUserLikeContentsResult) GetResult() interface{}

func (*GetUserLikeContentsResult) GetSuccess

func (*GetUserLikeContentsResult) IsSetSuccess

func (p *GetUserLikeContentsResult) IsSetSuccess() bool

func (*GetUserLikeContentsResult) Marshal

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

func (*GetUserLikeContentsResult) SetSuccess

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

func (*GetUserLikeContentsResult) Size

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

func (*GetUserLikeContentsResult) Unmarshal

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

type GetUserLikedArgs

type GetUserLikedArgs struct {
	Req *core_api.GetUserLikedReq
}

func (*GetUserLikedArgs) FastRead

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

func (*GetUserLikedArgs) FastWrite

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

func (*GetUserLikedArgs) GetFirstArgument

func (p *GetUserLikedArgs) GetFirstArgument() interface{}

func (*GetUserLikedArgs) GetReq

func (*GetUserLikedArgs) IsSetReq

func (p *GetUserLikedArgs) IsSetReq() bool

func (*GetUserLikedArgs) Marshal

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

func (*GetUserLikedArgs) Size

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

func (*GetUserLikedArgs) Unmarshal

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

type GetUserLikedResult

type GetUserLikedResult struct {
	Success *core_api.GetUserLikedResp
}

func (*GetUserLikedResult) FastRead

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

func (*GetUserLikedResult) FastWrite

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

func (*GetUserLikedResult) GetResult

func (p *GetUserLikedResult) GetResult() interface{}

func (*GetUserLikedResult) GetSuccess

func (p *GetUserLikedResult) GetSuccess() *core_api.GetUserLikedResp

func (*GetUserLikedResult) IsSetSuccess

func (p *GetUserLikedResult) IsSetSuccess() bool

func (*GetUserLikedResult) Marshal

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

func (*GetUserLikedResult) SetSuccess

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

func (*GetUserLikedResult) Size

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

func (*GetUserLikedResult) Unmarshal

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

type GetUserLikesArgs

type GetUserLikesArgs struct {
	Req *core_api.GetUserLikesReq
}

func (*GetUserLikesArgs) FastRead

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

func (*GetUserLikesArgs) FastWrite

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

func (*GetUserLikesArgs) GetFirstArgument

func (p *GetUserLikesArgs) GetFirstArgument() interface{}

func (*GetUserLikesArgs) GetReq

func (*GetUserLikesArgs) IsSetReq

func (p *GetUserLikesArgs) IsSetReq() bool

func (*GetUserLikesArgs) Marshal

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

func (*GetUserLikesArgs) Size

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

func (*GetUserLikesArgs) Unmarshal

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

type GetUserLikesResult

type GetUserLikesResult struct {
	Success *core_api.GetUserLikesResp
}

func (*GetUserLikesResult) FastRead

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

func (*GetUserLikesResult) FastWrite

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

func (*GetUserLikesResult) GetResult

func (p *GetUserLikesResult) GetResult() interface{}

func (*GetUserLikesResult) GetSuccess

func (p *GetUserLikesResult) GetSuccess() *core_api.GetUserLikesResp

func (*GetUserLikesResult) IsSetSuccess

func (p *GetUserLikesResult) IsSetSuccess() bool

func (*GetUserLikesResult) Marshal

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

func (*GetUserLikesResult) SetSuccess

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

func (*GetUserLikesResult) Size

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

func (*GetUserLikesResult) Unmarshal

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

Jump to

Keyboard shortcuts

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