coreapi

package
v0.0.0-...-4036ab3 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var CreateScheduleArgs_Req_DEFAULT *core_api.CreateScheduleReq
View Source
var CreateScheduleFromOriginArgs_Req_DEFAULT *core_api.CreateScheduleFromOriginReq
View Source
var CreateScheduleFromOriginResult_Success_DEFAULT *core_api.CreateScheduleFromOriginResp
View Source
var CreateScheduleResult_Success_DEFAULT *core_api.CreateScheduleResp
View Source
var CreateSchedulesArgs_Req_DEFAULT *core_api.CreateSchedulesReq
View Source
var CreateSchedulesResult_Success_DEFAULT *core_api.CreateSchedulesResp
View Source
var GetSchedulesArgs_Req_DEFAULT *core_api.GetSchedulesReq
View Source
var GetSchedulesResult_Success_DEFAULT *core_api.GetSchedulesResp
View Source
var SendVerifyCodeArgs_Req_DEFAULT *core_api.SendVerifyCodeReq
View Source
var SendVerifyCodeResult_Success_DEFAULT *core_api.SendVerifyCodeResp
View Source
var SignInArgs_Req_DEFAULT *core_api.SignInReq
View Source
var SignInResult_Success_DEFAULT *core_api.SignInResp
View Source
var SignUpArgs_Req_DEFAULT *core_api.SignUpReq
View Source
var SignUpResult_Success_DEFAULT *core_api.SignUpResp
View Source
var UpdateScheduleArgs_Req_DEFAULT *core_api.UpdateScheduleReq
View Source
var UpdateScheduleResult_Success_DEFAULT *core_api.UpdateScheduleResp

Functions

func NewServer

func NewServer(handler core_api.CoreApi, 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.CoreApi, opts ...server.RegisterOption) error

Types

type Client

type Client interface {
	SignUp(ctx context.Context, Req *core_api.SignUpReq, callOptions ...callopt.Option) (r *core_api.SignUpResp, err error)
	SignIn(ctx context.Context, Req *core_api.SignInReq, callOptions ...callopt.Option) (r *core_api.SignInResp, err error)
	SendVerifyCode(ctx context.Context, Req *core_api.SendVerifyCodeReq, callOptions ...callopt.Option) (r *core_api.SendVerifyCodeResp, err error)
	CreateSchedule(ctx context.Context, Req *core_api.CreateScheduleReq, callOptions ...callopt.Option) (r *core_api.CreateScheduleResp, err error)
	CreateScheduleFromOrigin(ctx context.Context, Req *core_api.CreateScheduleFromOriginReq, callOptions ...callopt.Option) (r *core_api.CreateScheduleFromOriginResp, err error)
	CreateSchedules(ctx context.Context, Req *core_api.CreateSchedulesReq, callOptions ...callopt.Option) (r *core_api.CreateSchedulesResp, err error)
	UpdateSchedule(ctx context.Context, Req *core_api.UpdateScheduleReq, callOptions ...callopt.Option) (r *core_api.UpdateScheduleResp, err error)
	GetSchedules(ctx context.Context, Req *core_api.GetSchedulesReq, callOptions ...callopt.Option) (r *core_api.GetSchedulesResp, 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 CreateScheduleArgs

type CreateScheduleArgs struct {
	Req *core_api.CreateScheduleReq
}

func (*CreateScheduleArgs) FastRead

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

func (*CreateScheduleArgs) FastWrite

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

func (*CreateScheduleArgs) GetFirstArgument

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

func (*CreateScheduleArgs) GetReq

func (*CreateScheduleArgs) IsSetReq

func (p *CreateScheduleArgs) IsSetReq() bool

func (*CreateScheduleArgs) Marshal

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

func (*CreateScheduleArgs) Size

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

func (*CreateScheduleArgs) Unmarshal

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

type CreateScheduleFromOriginArgs

type CreateScheduleFromOriginArgs struct {
	Req *core_api.CreateScheduleFromOriginReq
}

func (*CreateScheduleFromOriginArgs) FastRead

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

func (*CreateScheduleFromOriginArgs) FastWrite

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

func (*CreateScheduleFromOriginArgs) GetFirstArgument

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

func (*CreateScheduleFromOriginArgs) GetReq

func (*CreateScheduleFromOriginArgs) IsSetReq

func (p *CreateScheduleFromOriginArgs) IsSetReq() bool

func (*CreateScheduleFromOriginArgs) Marshal

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

func (*CreateScheduleFromOriginArgs) Size

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

func (*CreateScheduleFromOriginArgs) Unmarshal

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

type CreateScheduleFromOriginResult

type CreateScheduleFromOriginResult struct {
	Success *core_api.CreateScheduleFromOriginResp
}

func (*CreateScheduleFromOriginResult) FastRead

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

func (*CreateScheduleFromOriginResult) FastWrite

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

func (*CreateScheduleFromOriginResult) GetResult

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

func (*CreateScheduleFromOriginResult) GetSuccess

func (*CreateScheduleFromOriginResult) IsSetSuccess

func (p *CreateScheduleFromOriginResult) IsSetSuccess() bool

func (*CreateScheduleFromOriginResult) Marshal

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

func (*CreateScheduleFromOriginResult) SetSuccess

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

func (*CreateScheduleFromOriginResult) Size

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

func (*CreateScheduleFromOriginResult) Unmarshal

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

type CreateScheduleResult

type CreateScheduleResult struct {
	Success *core_api.CreateScheduleResp
}

func (*CreateScheduleResult) FastRead

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

func (*CreateScheduleResult) FastWrite

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

func (*CreateScheduleResult) GetResult

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

func (*CreateScheduleResult) GetSuccess

func (*CreateScheduleResult) IsSetSuccess

func (p *CreateScheduleResult) IsSetSuccess() bool

func (*CreateScheduleResult) Marshal

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

func (*CreateScheduleResult) SetSuccess

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

func (*CreateScheduleResult) Size

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

func (*CreateScheduleResult) Unmarshal

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

type CreateSchedulesArgs

type CreateSchedulesArgs struct {
	Req *core_api.CreateSchedulesReq
}

func (*CreateSchedulesArgs) FastRead

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

func (*CreateSchedulesArgs) FastWrite

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

func (*CreateSchedulesArgs) GetFirstArgument

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

func (*CreateSchedulesArgs) GetReq

func (*CreateSchedulesArgs) IsSetReq

func (p *CreateSchedulesArgs) IsSetReq() bool

func (*CreateSchedulesArgs) Marshal

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

func (*CreateSchedulesArgs) Size

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

func (*CreateSchedulesArgs) Unmarshal

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

type CreateSchedulesResult

type CreateSchedulesResult struct {
	Success *core_api.CreateSchedulesResp
}

func (*CreateSchedulesResult) FastRead

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

func (*CreateSchedulesResult) FastWrite

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

func (*CreateSchedulesResult) GetResult

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

func (*CreateSchedulesResult) GetSuccess

func (*CreateSchedulesResult) IsSetSuccess

func (p *CreateSchedulesResult) IsSetSuccess() bool

func (*CreateSchedulesResult) Marshal

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

func (*CreateSchedulesResult) SetSuccess

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

func (*CreateSchedulesResult) Size

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

func (*CreateSchedulesResult) Unmarshal

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

type GetSchedulesArgs

type GetSchedulesArgs struct {
	Req *core_api.GetSchedulesReq
}

func (*GetSchedulesArgs) FastRead

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

func (*GetSchedulesArgs) FastWrite

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

func (*GetSchedulesArgs) GetFirstArgument

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

func (*GetSchedulesArgs) GetReq

func (*GetSchedulesArgs) IsSetReq

func (p *GetSchedulesArgs) IsSetReq() bool

func (*GetSchedulesArgs) Marshal

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

func (*GetSchedulesArgs) Size

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

func (*GetSchedulesArgs) Unmarshal

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

type GetSchedulesResult

type GetSchedulesResult struct {
	Success *core_api.GetSchedulesResp
}

func (*GetSchedulesResult) FastRead

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

func (*GetSchedulesResult) FastWrite

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

func (*GetSchedulesResult) GetResult

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

func (*GetSchedulesResult) GetSuccess

func (p *GetSchedulesResult) GetSuccess() *core_api.GetSchedulesResp

func (*GetSchedulesResult) IsSetSuccess

func (p *GetSchedulesResult) IsSetSuccess() bool

func (*GetSchedulesResult) Marshal

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

func (*GetSchedulesResult) SetSuccess

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

func (*GetSchedulesResult) Size

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

func (*GetSchedulesResult) Unmarshal

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

type SendVerifyCodeArgs

type SendVerifyCodeArgs struct {
	Req *core_api.SendVerifyCodeReq
}

func (*SendVerifyCodeArgs) FastRead

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

func (*SendVerifyCodeArgs) FastWrite

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

func (*SendVerifyCodeArgs) GetFirstArgument

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

func (*SendVerifyCodeArgs) GetReq

func (*SendVerifyCodeArgs) IsSetReq

func (p *SendVerifyCodeArgs) IsSetReq() bool

func (*SendVerifyCodeArgs) Marshal

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

func (*SendVerifyCodeArgs) Size

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

func (*SendVerifyCodeArgs) Unmarshal

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

type SendVerifyCodeResult

type SendVerifyCodeResult struct {
	Success *core_api.SendVerifyCodeResp
}

func (*SendVerifyCodeResult) FastRead

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

func (*SendVerifyCodeResult) FastWrite

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

func (*SendVerifyCodeResult) GetResult

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

func (*SendVerifyCodeResult) GetSuccess

func (*SendVerifyCodeResult) IsSetSuccess

func (p *SendVerifyCodeResult) IsSetSuccess() bool

func (*SendVerifyCodeResult) Marshal

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

func (*SendVerifyCodeResult) SetSuccess

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

func (*SendVerifyCodeResult) Size

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

func (*SendVerifyCodeResult) Unmarshal

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

type SignInArgs

type SignInArgs struct {
	Req *core_api.SignInReq
}

func (*SignInArgs) FastRead

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

func (*SignInArgs) FastWrite

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

func (*SignInArgs) GetFirstArgument

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

func (*SignInArgs) GetReq

func (p *SignInArgs) GetReq() *core_api.SignInReq

func (*SignInArgs) IsSetReq

func (p *SignInArgs) IsSetReq() bool

func (*SignInArgs) Marshal

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

func (*SignInArgs) Size

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

func (*SignInArgs) Unmarshal

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

type SignInResult

type SignInResult struct {
	Success *core_api.SignInResp
}

func (*SignInResult) FastRead

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

func (*SignInResult) FastWrite

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

func (*SignInResult) GetResult

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

func (*SignInResult) GetSuccess

func (p *SignInResult) GetSuccess() *core_api.SignInResp

func (*SignInResult) IsSetSuccess

func (p *SignInResult) IsSetSuccess() bool

func (*SignInResult) Marshal

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

func (*SignInResult) SetSuccess

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

func (*SignInResult) Size

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

func (*SignInResult) Unmarshal

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

type SignUpArgs

type SignUpArgs struct {
	Req *core_api.SignUpReq
}

func (*SignUpArgs) FastRead

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

func (*SignUpArgs) FastWrite

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

func (*SignUpArgs) GetFirstArgument

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

func (*SignUpArgs) GetReq

func (p *SignUpArgs) GetReq() *core_api.SignUpReq

func (*SignUpArgs) IsSetReq

func (p *SignUpArgs) IsSetReq() bool

func (*SignUpArgs) Marshal

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

func (*SignUpArgs) Size

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

func (*SignUpArgs) Unmarshal

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

type SignUpResult

type SignUpResult struct {
	Success *core_api.SignUpResp
}

func (*SignUpResult) FastRead

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

func (*SignUpResult) FastWrite

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

func (*SignUpResult) GetResult

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

func (*SignUpResult) GetSuccess

func (p *SignUpResult) GetSuccess() *core_api.SignUpResp

func (*SignUpResult) IsSetSuccess

func (p *SignUpResult) IsSetSuccess() bool

func (*SignUpResult) Marshal

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

func (*SignUpResult) SetSuccess

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

func (*SignUpResult) Size

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

func (*SignUpResult) Unmarshal

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

type UpdateScheduleArgs

type UpdateScheduleArgs struct {
	Req *core_api.UpdateScheduleReq
}

func (*UpdateScheduleArgs) FastRead

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

func (*UpdateScheduleArgs) FastWrite

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

func (*UpdateScheduleArgs) GetFirstArgument

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

func (*UpdateScheduleArgs) GetReq

func (*UpdateScheduleArgs) IsSetReq

func (p *UpdateScheduleArgs) IsSetReq() bool

func (*UpdateScheduleArgs) Marshal

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

func (*UpdateScheduleArgs) Size

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

func (*UpdateScheduleArgs) Unmarshal

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

type UpdateScheduleResult

type UpdateScheduleResult struct {
	Success *core_api.UpdateScheduleResp
}

func (*UpdateScheduleResult) FastRead

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

func (*UpdateScheduleResult) FastWrite

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

func (*UpdateScheduleResult) GetResult

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

func (*UpdateScheduleResult) GetSuccess

func (*UpdateScheduleResult) IsSetSuccess

func (p *UpdateScheduleResult) IsSetSuccess() bool

func (*UpdateScheduleResult) Marshal

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

func (*UpdateScheduleResult) SetSuccess

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

func (*UpdateScheduleResult) Size

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

func (*UpdateScheduleResult) Unmarshal

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

Jump to

Keyboard shortcuts

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