demonote

package
v0.0.0-...-2486f02 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var QueryNoteRequest_SearchKey_DEFAULT string
View Source
var UpdateNoteRequest_Content_DEFAULT string
View Source
var UpdateNoteRequest_Title_DEFAULT string

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	StatusCode    int64  `thrift:"status_code,1" json:"status_code"`
	StatusMessage string `thrift:"status_message,2" json:"status_message"`
	ServiceTime   int64  `thrift:"service_time,3" json:"service_time"`
}
var CreateNoteResponse_BaseResp_DEFAULT *BaseResp
var DeleteNoteResponse_BaseResp_DEFAULT *BaseResp
var MGetNoteResponse_BaseResp_DEFAULT *BaseResp
var QueryNoteResponse_BaseResp_DEFAULT *BaseResp
var UpdateNoteResponse_BaseResp_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

func (p *BaseResp) DeepEqual(ano *BaseResp) bool

func (*BaseResp) FastRead

func (p *BaseResp) FastRead(buf []byte) (int, error)

func (*BaseResp) FastReadField1

func (p *BaseResp) FastReadField1(buf []byte) (int, error)

func (*BaseResp) FastReadField2

func (p *BaseResp) FastReadField2(buf []byte) (int, error)

func (*BaseResp) FastReadField3

func (p *BaseResp) FastReadField3(buf []byte) (int, error)

func (*BaseResp) FastWrite

func (p *BaseResp) FastWrite(buf []byte) int

for compatibility

func (*BaseResp) FastWriteNocopy

func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*BaseResp) Field1DeepEqual

func (p *BaseResp) Field1DeepEqual(src int64) bool

func (*BaseResp) Field2DeepEqual

func (p *BaseResp) Field2DeepEqual(src string) bool

func (*BaseResp) Field3DeepEqual

func (p *BaseResp) Field3DeepEqual(src int64) bool

func (*BaseResp) GetServiceTime

func (p *BaseResp) GetServiceTime() (v int64)

func (*BaseResp) GetStatusCode

func (p *BaseResp) GetStatusCode() (v int64)

func (*BaseResp) GetStatusMessage

func (p *BaseResp) GetStatusMessage() (v string)

func (*BaseResp) IsValid

func (p *BaseResp) IsValid() error

func (*BaseResp) Read

func (p *BaseResp) Read(iprot thrift.TProtocol) (err error)

func (*BaseResp) ReadField1

func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error

func (*BaseResp) ReadField2

func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error

func (*BaseResp) ReadField3

func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error

func (*BaseResp) SetServiceTime

func (p *BaseResp) SetServiceTime(val int64)

func (*BaseResp) SetStatusCode

func (p *BaseResp) SetStatusCode(val int64)

func (*BaseResp) SetStatusMessage

func (p *BaseResp) SetStatusMessage(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

func (p *BaseResp) Write(oprot thrift.TProtocol) (err error)

type CreateNoteRequest

type CreateNoteRequest struct {
	Title   string `thrift:"title,1" json:"title"`
	Content string `thrift:"content,2" json:"content"`
	UserId  int64  `thrift:"user_id,3" json:"user_id"`
}
var NoteServiceCreateNoteArgs_Req_DEFAULT *CreateNoteRequest

func NewCreateNoteRequest

func NewCreateNoteRequest() *CreateNoteRequest

func (*CreateNoteRequest) BLength

func (p *CreateNoteRequest) BLength() int

func (*CreateNoteRequest) DeepEqual

func (p *CreateNoteRequest) DeepEqual(ano *CreateNoteRequest) bool

func (*CreateNoteRequest) FastRead

func (p *CreateNoteRequest) FastRead(buf []byte) (int, error)

func (*CreateNoteRequest) FastReadField1

func (p *CreateNoteRequest) FastReadField1(buf []byte) (int, error)

func (*CreateNoteRequest) FastReadField2

func (p *CreateNoteRequest) FastReadField2(buf []byte) (int, error)

func (*CreateNoteRequest) FastReadField3

func (p *CreateNoteRequest) FastReadField3(buf []byte) (int, error)

func (*CreateNoteRequest) FastWrite

func (p *CreateNoteRequest) FastWrite(buf []byte) int

for compatibility

func (*CreateNoteRequest) FastWriteNocopy

func (p *CreateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CreateNoteRequest) Field1DeepEqual

func (p *CreateNoteRequest) Field1DeepEqual(src string) bool

func (*CreateNoteRequest) Field2DeepEqual

func (p *CreateNoteRequest) Field2DeepEqual(src string) bool

func (*CreateNoteRequest) Field3DeepEqual

func (p *CreateNoteRequest) Field3DeepEqual(src int64) bool

func (*CreateNoteRequest) GetContent

func (p *CreateNoteRequest) GetContent() (v string)

func (*CreateNoteRequest) GetTitle

func (p *CreateNoteRequest) GetTitle() (v string)

func (*CreateNoteRequest) GetUserId

func (p *CreateNoteRequest) GetUserId() (v int64)

func (*CreateNoteRequest) IsValid

func (p *CreateNoteRequest) IsValid() error

func (*CreateNoteRequest) Read

func (p *CreateNoteRequest) Read(iprot thrift.TProtocol) (err error)

func (*CreateNoteRequest) ReadField1

func (p *CreateNoteRequest) ReadField1(iprot thrift.TProtocol) error

func (*CreateNoteRequest) ReadField2

func (p *CreateNoteRequest) ReadField2(iprot thrift.TProtocol) error

func (*CreateNoteRequest) ReadField3

func (p *CreateNoteRequest) ReadField3(iprot thrift.TProtocol) error

func (*CreateNoteRequest) SetContent

func (p *CreateNoteRequest) SetContent(val string)

func (*CreateNoteRequest) SetTitle

func (p *CreateNoteRequest) SetTitle(val string)

func (*CreateNoteRequest) SetUserId

func (p *CreateNoteRequest) SetUserId(val int64)

func (*CreateNoteRequest) String

func (p *CreateNoteRequest) String() string

func (*CreateNoteRequest) Write

func (p *CreateNoteRequest) Write(oprot thrift.TProtocol) (err error)

type CreateNoteResponse

type CreateNoteResponse struct {
	BaseResp *BaseResp `thrift:"base_resp,1" json:"base_resp"`
}
var NoteServiceCreateNoteResult_Success_DEFAULT *CreateNoteResponse

func NewCreateNoteResponse

func NewCreateNoteResponse() *CreateNoteResponse

func (*CreateNoteResponse) BLength

func (p *CreateNoteResponse) BLength() int

func (*CreateNoteResponse) DeepEqual

func (p *CreateNoteResponse) DeepEqual(ano *CreateNoteResponse) bool

func (*CreateNoteResponse) FastRead

func (p *CreateNoteResponse) FastRead(buf []byte) (int, error)

func (*CreateNoteResponse) FastReadField1

func (p *CreateNoteResponse) FastReadField1(buf []byte) (int, error)

func (*CreateNoteResponse) FastWrite

func (p *CreateNoteResponse) FastWrite(buf []byte) int

for compatibility

func (*CreateNoteResponse) FastWriteNocopy

func (p *CreateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*CreateNoteResponse) Field1DeepEqual

func (p *CreateNoteResponse) Field1DeepEqual(src *BaseResp) bool

func (*CreateNoteResponse) GetBaseResp

func (p *CreateNoteResponse) GetBaseResp() (v *BaseResp)

func (*CreateNoteResponse) IsSetBaseResp

func (p *CreateNoteResponse) IsSetBaseResp() bool

func (*CreateNoteResponse) IsValid

func (p *CreateNoteResponse) IsValid() error

func (*CreateNoteResponse) Read

func (p *CreateNoteResponse) Read(iprot thrift.TProtocol) (err error)

func (*CreateNoteResponse) ReadField1

func (p *CreateNoteResponse) ReadField1(iprot thrift.TProtocol) error

func (*CreateNoteResponse) SetBaseResp

func (p *CreateNoteResponse) SetBaseResp(val *BaseResp)

func (*CreateNoteResponse) String

func (p *CreateNoteResponse) String() string

func (*CreateNoteResponse) Write

func (p *CreateNoteResponse) Write(oprot thrift.TProtocol) (err error)

type DeleteNoteRequest

type DeleteNoteRequest struct {
	NoteId int64 `thrift:"note_id,1" json:"note_id"`
	UserId int64 `thrift:"user_id,2" json:"user_id"`
}
var NoteServiceDeleteNoteArgs_Req_DEFAULT *DeleteNoteRequest

func NewDeleteNoteRequest

func NewDeleteNoteRequest() *DeleteNoteRequest

func (*DeleteNoteRequest) BLength

func (p *DeleteNoteRequest) BLength() int

func (*DeleteNoteRequest) DeepEqual

func (p *DeleteNoteRequest) DeepEqual(ano *DeleteNoteRequest) bool

func (*DeleteNoteRequest) FastRead

func (p *DeleteNoteRequest) FastRead(buf []byte) (int, error)

func (*DeleteNoteRequest) FastReadField1

func (p *DeleteNoteRequest) FastReadField1(buf []byte) (int, error)

func (*DeleteNoteRequest) FastReadField2

func (p *DeleteNoteRequest) FastReadField2(buf []byte) (int, error)

func (*DeleteNoteRequest) FastWrite

func (p *DeleteNoteRequest) FastWrite(buf []byte) int

for compatibility

func (*DeleteNoteRequest) FastWriteNocopy

func (p *DeleteNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DeleteNoteRequest) Field1DeepEqual

func (p *DeleteNoteRequest) Field1DeepEqual(src int64) bool

func (*DeleteNoteRequest) Field2DeepEqual

func (p *DeleteNoteRequest) Field2DeepEqual(src int64) bool

func (*DeleteNoteRequest) GetNoteId

func (p *DeleteNoteRequest) GetNoteId() (v int64)

func (*DeleteNoteRequest) GetUserId

func (p *DeleteNoteRequest) GetUserId() (v int64)

func (*DeleteNoteRequest) IsValid

func (p *DeleteNoteRequest) IsValid() error

func (*DeleteNoteRequest) Read

func (p *DeleteNoteRequest) Read(iprot thrift.TProtocol) (err error)

func (*DeleteNoteRequest) ReadField1

func (p *DeleteNoteRequest) ReadField1(iprot thrift.TProtocol) error

func (*DeleteNoteRequest) ReadField2

func (p *DeleteNoteRequest) ReadField2(iprot thrift.TProtocol) error

func (*DeleteNoteRequest) SetNoteId

func (p *DeleteNoteRequest) SetNoteId(val int64)

func (*DeleteNoteRequest) SetUserId

func (p *DeleteNoteRequest) SetUserId(val int64)

func (*DeleteNoteRequest) String

func (p *DeleteNoteRequest) String() string

func (*DeleteNoteRequest) Write

func (p *DeleteNoteRequest) Write(oprot thrift.TProtocol) (err error)

type DeleteNoteResponse

type DeleteNoteResponse struct {
	BaseResp *BaseResp `thrift:"base_resp,1" json:"base_resp"`
}
var NoteServiceDeleteNoteResult_Success_DEFAULT *DeleteNoteResponse

func NewDeleteNoteResponse

func NewDeleteNoteResponse() *DeleteNoteResponse

func (*DeleteNoteResponse) BLength

func (p *DeleteNoteResponse) BLength() int

func (*DeleteNoteResponse) DeepEqual

func (p *DeleteNoteResponse) DeepEqual(ano *DeleteNoteResponse) bool

func (*DeleteNoteResponse) FastRead

func (p *DeleteNoteResponse) FastRead(buf []byte) (int, error)

func (*DeleteNoteResponse) FastReadField1

func (p *DeleteNoteResponse) FastReadField1(buf []byte) (int, error)

func (*DeleteNoteResponse) FastWrite

func (p *DeleteNoteResponse) FastWrite(buf []byte) int

for compatibility

func (*DeleteNoteResponse) FastWriteNocopy

func (p *DeleteNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DeleteNoteResponse) Field1DeepEqual

func (p *DeleteNoteResponse) Field1DeepEqual(src *BaseResp) bool

func (*DeleteNoteResponse) GetBaseResp

func (p *DeleteNoteResponse) GetBaseResp() (v *BaseResp)

func (*DeleteNoteResponse) IsSetBaseResp

func (p *DeleteNoteResponse) IsSetBaseResp() bool

func (*DeleteNoteResponse) IsValid

func (p *DeleteNoteResponse) IsValid() error

func (*DeleteNoteResponse) Read

func (p *DeleteNoteResponse) Read(iprot thrift.TProtocol) (err error)

func (*DeleteNoteResponse) ReadField1

func (p *DeleteNoteResponse) ReadField1(iprot thrift.TProtocol) error

func (*DeleteNoteResponse) SetBaseResp

func (p *DeleteNoteResponse) SetBaseResp(val *BaseResp)

func (*DeleteNoteResponse) String

func (p *DeleteNoteResponse) String() string

func (*DeleteNoteResponse) Write

func (p *DeleteNoteResponse) Write(oprot thrift.TProtocol) (err error)

type MGetNoteRequest

type MGetNoteRequest struct {
	NoteIds []int64 `thrift:"note_ids,1" json:"note_ids"`
}
var NoteServiceMGetNoteArgs_Req_DEFAULT *MGetNoteRequest

func NewMGetNoteRequest

func NewMGetNoteRequest() *MGetNoteRequest

func (*MGetNoteRequest) BLength

func (p *MGetNoteRequest) BLength() int

func (*MGetNoteRequest) DeepEqual

func (p *MGetNoteRequest) DeepEqual(ano *MGetNoteRequest) bool

func (*MGetNoteRequest) FastRead

func (p *MGetNoteRequest) FastRead(buf []byte) (int, error)

func (*MGetNoteRequest) FastReadField1

func (p *MGetNoteRequest) FastReadField1(buf []byte) (int, error)

func (*MGetNoteRequest) FastWrite

func (p *MGetNoteRequest) FastWrite(buf []byte) int

for compatibility

func (*MGetNoteRequest) FastWriteNocopy

func (p *MGetNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MGetNoteRequest) Field1DeepEqual

func (p *MGetNoteRequest) Field1DeepEqual(src []int64) bool

func (*MGetNoteRequest) GetNoteIds

func (p *MGetNoteRequest) GetNoteIds() (v []int64)

func (*MGetNoteRequest) IsValid

func (p *MGetNoteRequest) IsValid() error

func (*MGetNoteRequest) Read

func (p *MGetNoteRequest) Read(iprot thrift.TProtocol) (err error)

func (*MGetNoteRequest) ReadField1

func (p *MGetNoteRequest) ReadField1(iprot thrift.TProtocol) error

func (*MGetNoteRequest) SetNoteIds

func (p *MGetNoteRequest) SetNoteIds(val []int64)

func (*MGetNoteRequest) String

func (p *MGetNoteRequest) String() string

func (*MGetNoteRequest) Write

func (p *MGetNoteRequest) Write(oprot thrift.TProtocol) (err error)

type MGetNoteResponse

type MGetNoteResponse struct {
	Notes    []*Note   `thrift:"notes,1" json:"notes"`
	BaseResp *BaseResp `thrift:"base_resp,2" json:"base_resp"`
}
var NoteServiceMGetNoteResult_Success_DEFAULT *MGetNoteResponse

func NewMGetNoteResponse

func NewMGetNoteResponse() *MGetNoteResponse

func (*MGetNoteResponse) BLength

func (p *MGetNoteResponse) BLength() int

func (*MGetNoteResponse) DeepEqual

func (p *MGetNoteResponse) DeepEqual(ano *MGetNoteResponse) bool

func (*MGetNoteResponse) FastRead

func (p *MGetNoteResponse) FastRead(buf []byte) (int, error)

func (*MGetNoteResponse) FastReadField1

func (p *MGetNoteResponse) FastReadField1(buf []byte) (int, error)

func (*MGetNoteResponse) FastReadField2

func (p *MGetNoteResponse) FastReadField2(buf []byte) (int, error)

func (*MGetNoteResponse) FastWrite

func (p *MGetNoteResponse) FastWrite(buf []byte) int

for compatibility

func (*MGetNoteResponse) FastWriteNocopy

func (p *MGetNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*MGetNoteResponse) Field1DeepEqual

func (p *MGetNoteResponse) Field1DeepEqual(src []*Note) bool

func (*MGetNoteResponse) Field2DeepEqual

func (p *MGetNoteResponse) Field2DeepEqual(src *BaseResp) bool

func (*MGetNoteResponse) GetBaseResp

func (p *MGetNoteResponse) GetBaseResp() (v *BaseResp)

func (*MGetNoteResponse) GetNotes

func (p *MGetNoteResponse) GetNotes() (v []*Note)

func (*MGetNoteResponse) IsSetBaseResp

func (p *MGetNoteResponse) IsSetBaseResp() bool

func (*MGetNoteResponse) IsValid

func (p *MGetNoteResponse) IsValid() error

func (*MGetNoteResponse) Read

func (p *MGetNoteResponse) Read(iprot thrift.TProtocol) (err error)

func (*MGetNoteResponse) ReadField1

func (p *MGetNoteResponse) ReadField1(iprot thrift.TProtocol) error

func (*MGetNoteResponse) ReadField2

func (p *MGetNoteResponse) ReadField2(iprot thrift.TProtocol) error

func (*MGetNoteResponse) SetBaseResp

func (p *MGetNoteResponse) SetBaseResp(val *BaseResp)

func (*MGetNoteResponse) SetNotes

func (p *MGetNoteResponse) SetNotes(val []*Note)

func (*MGetNoteResponse) String

func (p *MGetNoteResponse) String() string

func (*MGetNoteResponse) Write

func (p *MGetNoteResponse) Write(oprot thrift.TProtocol) (err error)

type Note

type Note struct {
	NoteId     int64  `thrift:"note_id,1" json:"note_id"`
	UserId     int64  `thrift:"user_id,2" json:"user_id"`
	Username   string `thrift:"username,3" json:"username"`
	UserAvatar string `thrift:"user_avatar,4" json:"user_avatar"`
	Title      string `thrift:"title,5" json:"title"`
	Content    string `thrift:"content,6" json:"content"`
	CreateTime int64  `thrift:"create_time,7" json:"create_time"`
}

func NewNote

func NewNote() *Note

func (*Note) BLength

func (p *Note) BLength() int

func (*Note) DeepEqual

func (p *Note) DeepEqual(ano *Note) bool

func (*Note) FastRead

func (p *Note) FastRead(buf []byte) (int, error)

func (*Note) FastReadField1

func (p *Note) FastReadField1(buf []byte) (int, error)

func (*Note) FastReadField2

func (p *Note) FastReadField2(buf []byte) (int, error)

func (*Note) FastReadField3

func (p *Note) FastReadField3(buf []byte) (int, error)

func (*Note) FastReadField4

func (p *Note) FastReadField4(buf []byte) (int, error)

func (*Note) FastReadField5

func (p *Note) FastReadField5(buf []byte) (int, error)

func (*Note) FastReadField6

func (p *Note) FastReadField6(buf []byte) (int, error)

func (*Note) FastReadField7

func (p *Note) FastReadField7(buf []byte) (int, error)

func (*Note) FastWrite

func (p *Note) FastWrite(buf []byte) int

for compatibility

func (*Note) FastWriteNocopy

func (p *Note) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Note) Field1DeepEqual

func (p *Note) Field1DeepEqual(src int64) bool

func (*Note) Field2DeepEqual

func (p *Note) Field2DeepEqual(src int64) bool

func (*Note) Field3DeepEqual

func (p *Note) Field3DeepEqual(src string) bool

func (*Note) Field4DeepEqual

func (p *Note) Field4DeepEqual(src string) bool

func (*Note) Field5DeepEqual

func (p *Note) Field5DeepEqual(src string) bool

func (*Note) Field6DeepEqual

func (p *Note) Field6DeepEqual(src string) bool

func (*Note) Field7DeepEqual

func (p *Note) Field7DeepEqual(src int64) bool

func (*Note) GetContent

func (p *Note) GetContent() (v string)

func (*Note) GetCreateTime

func (p *Note) GetCreateTime() (v int64)

func (*Note) GetNoteId

func (p *Note) GetNoteId() (v int64)

func (*Note) GetTitle

func (p *Note) GetTitle() (v string)

func (*Note) GetUserAvatar

func (p *Note) GetUserAvatar() (v string)

func (*Note) GetUserId

func (p *Note) GetUserId() (v int64)

func (*Note) GetUsername

func (p *Note) GetUsername() (v string)

func (*Note) IsValid

func (p *Note) IsValid() error

func (*Note) Read

func (p *Note) Read(iprot thrift.TProtocol) (err error)

func (*Note) ReadField1

func (p *Note) ReadField1(iprot thrift.TProtocol) error

func (*Note) ReadField2

func (p *Note) ReadField2(iprot thrift.TProtocol) error

func (*Note) ReadField3

func (p *Note) ReadField3(iprot thrift.TProtocol) error

func (*Note) ReadField4

func (p *Note) ReadField4(iprot thrift.TProtocol) error

func (*Note) ReadField5

func (p *Note) ReadField5(iprot thrift.TProtocol) error

func (*Note) ReadField6

func (p *Note) ReadField6(iprot thrift.TProtocol) error

func (*Note) ReadField7

func (p *Note) ReadField7(iprot thrift.TProtocol) error

func (*Note) SetContent

func (p *Note) SetContent(val string)

func (*Note) SetCreateTime

func (p *Note) SetCreateTime(val int64)

func (*Note) SetNoteId

func (p *Note) SetNoteId(val int64)

func (*Note) SetTitle

func (p *Note) SetTitle(val string)

func (*Note) SetUserAvatar

func (p *Note) SetUserAvatar(val string)

func (*Note) SetUserId

func (p *Note) SetUserId(val int64)

func (*Note) SetUsername

func (p *Note) SetUsername(val string)

func (*Note) String

func (p *Note) String() string

func (*Note) Write

func (p *Note) Write(oprot thrift.TProtocol) (err error)

type NoteService

type NoteService interface {
	CreateNote(ctx context.Context, req *CreateNoteRequest) (r *CreateNoteResponse, err error)

	DeleteNote(ctx context.Context, req *DeleteNoteRequest) (r *DeleteNoteResponse, err error)

	UpdateNote(ctx context.Context, req *UpdateNoteRequest) (r *UpdateNoteResponse, err error)

	QueryNote(ctx context.Context, req *QueryNoteRequest) (r *QueryNoteResponse, err error)

	MGetNote(ctx context.Context, req *MGetNoteRequest) (r *MGetNoteResponse, err error)
}

type NoteServiceClient

type NoteServiceClient struct {
	// contains filtered or unexported fields
}

func NewNoteServiceClient

func NewNoteServiceClient(c thrift.TClient) *NoteServiceClient

func NewNoteServiceClientProtocol

func NewNoteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *NoteServiceClient

func (*NoteServiceClient) Client_

func (p *NoteServiceClient) Client_() thrift.TClient

func (*NoteServiceClient) CreateNote

func (p *NoteServiceClient) CreateNote(ctx context.Context, req *CreateNoteRequest) (r *CreateNoteResponse, err error)

func (*NoteServiceClient) DeleteNote

func (p *NoteServiceClient) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (r *DeleteNoteResponse, err error)

func (*NoteServiceClient) MGetNote

func (p *NoteServiceClient) MGetNote(ctx context.Context, req *MGetNoteRequest) (r *MGetNoteResponse, err error)

func (*NoteServiceClient) QueryNote

func (p *NoteServiceClient) QueryNote(ctx context.Context, req *QueryNoteRequest) (r *QueryNoteResponse, err error)

func (*NoteServiceClient) UpdateNote

func (p *NoteServiceClient) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (r *UpdateNoteResponse, err error)

type NoteServiceCreateNoteArgs

type NoteServiceCreateNoteArgs struct {
	Req *CreateNoteRequest `thrift:"req,1" json:"req"`
}

func NewNoteServiceCreateNoteArgs

func NewNoteServiceCreateNoteArgs() *NoteServiceCreateNoteArgs

func (*NoteServiceCreateNoteArgs) BLength

func (p *NoteServiceCreateNoteArgs) BLength() int

func (*NoteServiceCreateNoteArgs) DeepEqual

func (*NoteServiceCreateNoteArgs) FastRead

func (p *NoteServiceCreateNoteArgs) FastRead(buf []byte) (int, error)

func (*NoteServiceCreateNoteArgs) FastReadField1

func (p *NoteServiceCreateNoteArgs) FastReadField1(buf []byte) (int, error)

func (*NoteServiceCreateNoteArgs) FastWrite

func (p *NoteServiceCreateNoteArgs) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceCreateNoteArgs) FastWriteNocopy

func (p *NoteServiceCreateNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceCreateNoteArgs) Field1DeepEqual

func (p *NoteServiceCreateNoteArgs) Field1DeepEqual(src *CreateNoteRequest) bool

func (*NoteServiceCreateNoteArgs) GetFirstArgument

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

func (*NoteServiceCreateNoteArgs) GetReq

func (*NoteServiceCreateNoteArgs) IsSetReq

func (p *NoteServiceCreateNoteArgs) IsSetReq() bool

func (*NoteServiceCreateNoteArgs) Read

func (p *NoteServiceCreateNoteArgs) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceCreateNoteArgs) ReadField1

func (p *NoteServiceCreateNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteServiceCreateNoteArgs) SetReq

func (*NoteServiceCreateNoteArgs) String

func (p *NoteServiceCreateNoteArgs) String() string

func (*NoteServiceCreateNoteArgs) Write

func (p *NoteServiceCreateNoteArgs) Write(oprot thrift.TProtocol) (err error)

type NoteServiceCreateNoteResult

type NoteServiceCreateNoteResult struct {
	Success *CreateNoteResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewNoteServiceCreateNoteResult

func NewNoteServiceCreateNoteResult() *NoteServiceCreateNoteResult

func (*NoteServiceCreateNoteResult) BLength

func (p *NoteServiceCreateNoteResult) BLength() int

func (*NoteServiceCreateNoteResult) DeepEqual

func (*NoteServiceCreateNoteResult) FastRead

func (p *NoteServiceCreateNoteResult) FastRead(buf []byte) (int, error)

func (*NoteServiceCreateNoteResult) FastReadField0

func (p *NoteServiceCreateNoteResult) FastReadField0(buf []byte) (int, error)

func (*NoteServiceCreateNoteResult) FastWrite

func (p *NoteServiceCreateNoteResult) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceCreateNoteResult) FastWriteNocopy

func (p *NoteServiceCreateNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceCreateNoteResult) Field0DeepEqual

func (p *NoteServiceCreateNoteResult) Field0DeepEqual(src *CreateNoteResponse) bool

func (*NoteServiceCreateNoteResult) GetResult

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

func (*NoteServiceCreateNoteResult) GetSuccess

func (p *NoteServiceCreateNoteResult) GetSuccess() (v *CreateNoteResponse)

func (*NoteServiceCreateNoteResult) IsSetSuccess

func (p *NoteServiceCreateNoteResult) IsSetSuccess() bool

func (*NoteServiceCreateNoteResult) Read

func (p *NoteServiceCreateNoteResult) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceCreateNoteResult) ReadField0

func (p *NoteServiceCreateNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteServiceCreateNoteResult) SetSuccess

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

func (*NoteServiceCreateNoteResult) String

func (p *NoteServiceCreateNoteResult) String() string

func (*NoteServiceCreateNoteResult) Write

func (p *NoteServiceCreateNoteResult) Write(oprot thrift.TProtocol) (err error)

type NoteServiceDeleteNoteArgs

type NoteServiceDeleteNoteArgs struct {
	Req *DeleteNoteRequest `thrift:"req,1" json:"req"`
}

func NewNoteServiceDeleteNoteArgs

func NewNoteServiceDeleteNoteArgs() *NoteServiceDeleteNoteArgs

func (*NoteServiceDeleteNoteArgs) BLength

func (p *NoteServiceDeleteNoteArgs) BLength() int

func (*NoteServiceDeleteNoteArgs) DeepEqual

func (*NoteServiceDeleteNoteArgs) FastRead

func (p *NoteServiceDeleteNoteArgs) FastRead(buf []byte) (int, error)

func (*NoteServiceDeleteNoteArgs) FastReadField1

func (p *NoteServiceDeleteNoteArgs) FastReadField1(buf []byte) (int, error)

func (*NoteServiceDeleteNoteArgs) FastWrite

func (p *NoteServiceDeleteNoteArgs) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceDeleteNoteArgs) FastWriteNocopy

func (p *NoteServiceDeleteNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceDeleteNoteArgs) Field1DeepEqual

func (p *NoteServiceDeleteNoteArgs) Field1DeepEqual(src *DeleteNoteRequest) bool

func (*NoteServiceDeleteNoteArgs) GetFirstArgument

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

func (*NoteServiceDeleteNoteArgs) GetReq

func (*NoteServiceDeleteNoteArgs) IsSetReq

func (p *NoteServiceDeleteNoteArgs) IsSetReq() bool

func (*NoteServiceDeleteNoteArgs) Read

func (p *NoteServiceDeleteNoteArgs) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceDeleteNoteArgs) ReadField1

func (p *NoteServiceDeleteNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteServiceDeleteNoteArgs) SetReq

func (*NoteServiceDeleteNoteArgs) String

func (p *NoteServiceDeleteNoteArgs) String() string

func (*NoteServiceDeleteNoteArgs) Write

func (p *NoteServiceDeleteNoteArgs) Write(oprot thrift.TProtocol) (err error)

type NoteServiceDeleteNoteResult

type NoteServiceDeleteNoteResult struct {
	Success *DeleteNoteResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewNoteServiceDeleteNoteResult

func NewNoteServiceDeleteNoteResult() *NoteServiceDeleteNoteResult

func (*NoteServiceDeleteNoteResult) BLength

func (p *NoteServiceDeleteNoteResult) BLength() int

func (*NoteServiceDeleteNoteResult) DeepEqual

func (*NoteServiceDeleteNoteResult) FastRead

func (p *NoteServiceDeleteNoteResult) FastRead(buf []byte) (int, error)

func (*NoteServiceDeleteNoteResult) FastReadField0

func (p *NoteServiceDeleteNoteResult) FastReadField0(buf []byte) (int, error)

func (*NoteServiceDeleteNoteResult) FastWrite

func (p *NoteServiceDeleteNoteResult) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceDeleteNoteResult) FastWriteNocopy

func (p *NoteServiceDeleteNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceDeleteNoteResult) Field0DeepEqual

func (p *NoteServiceDeleteNoteResult) Field0DeepEqual(src *DeleteNoteResponse) bool

func (*NoteServiceDeleteNoteResult) GetResult

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

func (*NoteServiceDeleteNoteResult) GetSuccess

func (p *NoteServiceDeleteNoteResult) GetSuccess() (v *DeleteNoteResponse)

func (*NoteServiceDeleteNoteResult) IsSetSuccess

func (p *NoteServiceDeleteNoteResult) IsSetSuccess() bool

func (*NoteServiceDeleteNoteResult) Read

func (p *NoteServiceDeleteNoteResult) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceDeleteNoteResult) ReadField0

func (p *NoteServiceDeleteNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteServiceDeleteNoteResult) SetSuccess

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

func (*NoteServiceDeleteNoteResult) String

func (p *NoteServiceDeleteNoteResult) String() string

func (*NoteServiceDeleteNoteResult) Write

func (p *NoteServiceDeleteNoteResult) Write(oprot thrift.TProtocol) (err error)

type NoteServiceMGetNoteArgs

type NoteServiceMGetNoteArgs struct {
	Req *MGetNoteRequest `thrift:"req,1" json:"req"`
}

func NewNoteServiceMGetNoteArgs

func NewNoteServiceMGetNoteArgs() *NoteServiceMGetNoteArgs

func (*NoteServiceMGetNoteArgs) BLength

func (p *NoteServiceMGetNoteArgs) BLength() int

func (*NoteServiceMGetNoteArgs) DeepEqual

func (*NoteServiceMGetNoteArgs) FastRead

func (p *NoteServiceMGetNoteArgs) FastRead(buf []byte) (int, error)

func (*NoteServiceMGetNoteArgs) FastReadField1

func (p *NoteServiceMGetNoteArgs) FastReadField1(buf []byte) (int, error)

func (*NoteServiceMGetNoteArgs) FastWrite

func (p *NoteServiceMGetNoteArgs) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceMGetNoteArgs) FastWriteNocopy

func (p *NoteServiceMGetNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceMGetNoteArgs) Field1DeepEqual

func (p *NoteServiceMGetNoteArgs) Field1DeepEqual(src *MGetNoteRequest) bool

func (*NoteServiceMGetNoteArgs) GetFirstArgument

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

func (*NoteServiceMGetNoteArgs) GetReq

func (p *NoteServiceMGetNoteArgs) GetReq() (v *MGetNoteRequest)

func (*NoteServiceMGetNoteArgs) IsSetReq

func (p *NoteServiceMGetNoteArgs) IsSetReq() bool

func (*NoteServiceMGetNoteArgs) Read

func (p *NoteServiceMGetNoteArgs) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceMGetNoteArgs) ReadField1

func (p *NoteServiceMGetNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteServiceMGetNoteArgs) SetReq

func (p *NoteServiceMGetNoteArgs) SetReq(val *MGetNoteRequest)

func (*NoteServiceMGetNoteArgs) String

func (p *NoteServiceMGetNoteArgs) String() string

func (*NoteServiceMGetNoteArgs) Write

func (p *NoteServiceMGetNoteArgs) Write(oprot thrift.TProtocol) (err error)

type NoteServiceMGetNoteResult

type NoteServiceMGetNoteResult struct {
	Success *MGetNoteResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewNoteServiceMGetNoteResult

func NewNoteServiceMGetNoteResult() *NoteServiceMGetNoteResult

func (*NoteServiceMGetNoteResult) BLength

func (p *NoteServiceMGetNoteResult) BLength() int

func (*NoteServiceMGetNoteResult) DeepEqual

func (*NoteServiceMGetNoteResult) FastRead

func (p *NoteServiceMGetNoteResult) FastRead(buf []byte) (int, error)

func (*NoteServiceMGetNoteResult) FastReadField0

func (p *NoteServiceMGetNoteResult) FastReadField0(buf []byte) (int, error)

func (*NoteServiceMGetNoteResult) FastWrite

func (p *NoteServiceMGetNoteResult) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceMGetNoteResult) FastWriteNocopy

func (p *NoteServiceMGetNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceMGetNoteResult) Field0DeepEqual

func (p *NoteServiceMGetNoteResult) Field0DeepEqual(src *MGetNoteResponse) bool

func (*NoteServiceMGetNoteResult) GetResult

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

func (*NoteServiceMGetNoteResult) GetSuccess

func (p *NoteServiceMGetNoteResult) GetSuccess() (v *MGetNoteResponse)

func (*NoteServiceMGetNoteResult) IsSetSuccess

func (p *NoteServiceMGetNoteResult) IsSetSuccess() bool

func (*NoteServiceMGetNoteResult) Read

func (p *NoteServiceMGetNoteResult) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceMGetNoteResult) ReadField0

func (p *NoteServiceMGetNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteServiceMGetNoteResult) SetSuccess

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

func (*NoteServiceMGetNoteResult) String

func (p *NoteServiceMGetNoteResult) String() string

func (*NoteServiceMGetNoteResult) Write

func (p *NoteServiceMGetNoteResult) Write(oprot thrift.TProtocol) (err error)

type NoteServiceProcessor

type NoteServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewNoteServiceProcessor

func NewNoteServiceProcessor(handler NoteService) *NoteServiceProcessor

func (*NoteServiceProcessor) AddToProcessorMap

func (p *NoteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*NoteServiceProcessor) GetProcessorFunction

func (p *NoteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*NoteServiceProcessor) Process

func (p *NoteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*NoteServiceProcessor) ProcessorMap

func (p *NoteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type NoteServiceQueryNoteArgs

type NoteServiceQueryNoteArgs struct {
	Req *QueryNoteRequest `thrift:"req,1" json:"req"`
}

func NewNoteServiceQueryNoteArgs

func NewNoteServiceQueryNoteArgs() *NoteServiceQueryNoteArgs

func (*NoteServiceQueryNoteArgs) BLength

func (p *NoteServiceQueryNoteArgs) BLength() int

func (*NoteServiceQueryNoteArgs) DeepEqual

func (*NoteServiceQueryNoteArgs) FastRead

func (p *NoteServiceQueryNoteArgs) FastRead(buf []byte) (int, error)

func (*NoteServiceQueryNoteArgs) FastReadField1

func (p *NoteServiceQueryNoteArgs) FastReadField1(buf []byte) (int, error)

func (*NoteServiceQueryNoteArgs) FastWrite

func (p *NoteServiceQueryNoteArgs) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceQueryNoteArgs) FastWriteNocopy

func (p *NoteServiceQueryNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceQueryNoteArgs) Field1DeepEqual

func (p *NoteServiceQueryNoteArgs) Field1DeepEqual(src *QueryNoteRequest) bool

func (*NoteServiceQueryNoteArgs) GetFirstArgument

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

func (*NoteServiceQueryNoteArgs) GetReq

func (p *NoteServiceQueryNoteArgs) GetReq() (v *QueryNoteRequest)

func (*NoteServiceQueryNoteArgs) IsSetReq

func (p *NoteServiceQueryNoteArgs) IsSetReq() bool

func (*NoteServiceQueryNoteArgs) Read

func (p *NoteServiceQueryNoteArgs) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceQueryNoteArgs) ReadField1

func (p *NoteServiceQueryNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteServiceQueryNoteArgs) SetReq

func (*NoteServiceQueryNoteArgs) String

func (p *NoteServiceQueryNoteArgs) String() string

func (*NoteServiceQueryNoteArgs) Write

func (p *NoteServiceQueryNoteArgs) Write(oprot thrift.TProtocol) (err error)

type NoteServiceQueryNoteResult

type NoteServiceQueryNoteResult struct {
	Success *QueryNoteResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewNoteServiceQueryNoteResult

func NewNoteServiceQueryNoteResult() *NoteServiceQueryNoteResult

func (*NoteServiceQueryNoteResult) BLength

func (p *NoteServiceQueryNoteResult) BLength() int

func (*NoteServiceQueryNoteResult) DeepEqual

func (*NoteServiceQueryNoteResult) FastRead

func (p *NoteServiceQueryNoteResult) FastRead(buf []byte) (int, error)

func (*NoteServiceQueryNoteResult) FastReadField0

func (p *NoteServiceQueryNoteResult) FastReadField0(buf []byte) (int, error)

func (*NoteServiceQueryNoteResult) FastWrite

func (p *NoteServiceQueryNoteResult) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceQueryNoteResult) FastWriteNocopy

func (p *NoteServiceQueryNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceQueryNoteResult) Field0DeepEqual

func (p *NoteServiceQueryNoteResult) Field0DeepEqual(src *QueryNoteResponse) bool

func (*NoteServiceQueryNoteResult) GetResult

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

func (*NoteServiceQueryNoteResult) GetSuccess

func (p *NoteServiceQueryNoteResult) GetSuccess() (v *QueryNoteResponse)

func (*NoteServiceQueryNoteResult) IsSetSuccess

func (p *NoteServiceQueryNoteResult) IsSetSuccess() bool

func (*NoteServiceQueryNoteResult) Read

func (p *NoteServiceQueryNoteResult) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceQueryNoteResult) ReadField0

func (p *NoteServiceQueryNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteServiceQueryNoteResult) SetSuccess

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

func (*NoteServiceQueryNoteResult) String

func (p *NoteServiceQueryNoteResult) String() string

func (*NoteServiceQueryNoteResult) Write

func (p *NoteServiceQueryNoteResult) Write(oprot thrift.TProtocol) (err error)

type NoteServiceUpdateNoteArgs

type NoteServiceUpdateNoteArgs struct {
	Req *UpdateNoteRequest `thrift:"req,1" json:"req"`
}

func NewNoteServiceUpdateNoteArgs

func NewNoteServiceUpdateNoteArgs() *NoteServiceUpdateNoteArgs

func (*NoteServiceUpdateNoteArgs) BLength

func (p *NoteServiceUpdateNoteArgs) BLength() int

func (*NoteServiceUpdateNoteArgs) DeepEqual

func (*NoteServiceUpdateNoteArgs) FastRead

func (p *NoteServiceUpdateNoteArgs) FastRead(buf []byte) (int, error)

func (*NoteServiceUpdateNoteArgs) FastReadField1

func (p *NoteServiceUpdateNoteArgs) FastReadField1(buf []byte) (int, error)

func (*NoteServiceUpdateNoteArgs) FastWrite

func (p *NoteServiceUpdateNoteArgs) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceUpdateNoteArgs) FastWriteNocopy

func (p *NoteServiceUpdateNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceUpdateNoteArgs) Field1DeepEqual

func (p *NoteServiceUpdateNoteArgs) Field1DeepEqual(src *UpdateNoteRequest) bool

func (*NoteServiceUpdateNoteArgs) GetFirstArgument

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

func (*NoteServiceUpdateNoteArgs) GetReq

func (*NoteServiceUpdateNoteArgs) IsSetReq

func (p *NoteServiceUpdateNoteArgs) IsSetReq() bool

func (*NoteServiceUpdateNoteArgs) Read

func (p *NoteServiceUpdateNoteArgs) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceUpdateNoteArgs) ReadField1

func (p *NoteServiceUpdateNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteServiceUpdateNoteArgs) SetReq

func (*NoteServiceUpdateNoteArgs) String

func (p *NoteServiceUpdateNoteArgs) String() string

func (*NoteServiceUpdateNoteArgs) Write

func (p *NoteServiceUpdateNoteArgs) Write(oprot thrift.TProtocol) (err error)

type NoteServiceUpdateNoteResult

type NoteServiceUpdateNoteResult struct {
	Success *UpdateNoteResponse `thrift:"success,0,optional" json:"success,omitempty"`
}

func NewNoteServiceUpdateNoteResult

func NewNoteServiceUpdateNoteResult() *NoteServiceUpdateNoteResult

func (*NoteServiceUpdateNoteResult) BLength

func (p *NoteServiceUpdateNoteResult) BLength() int

func (*NoteServiceUpdateNoteResult) DeepEqual

func (*NoteServiceUpdateNoteResult) FastRead

func (p *NoteServiceUpdateNoteResult) FastRead(buf []byte) (int, error)

func (*NoteServiceUpdateNoteResult) FastReadField0

func (p *NoteServiceUpdateNoteResult) FastReadField0(buf []byte) (int, error)

func (*NoteServiceUpdateNoteResult) FastWrite

func (p *NoteServiceUpdateNoteResult) FastWrite(buf []byte) int

for compatibility

func (*NoteServiceUpdateNoteResult) FastWriteNocopy

func (p *NoteServiceUpdateNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*NoteServiceUpdateNoteResult) Field0DeepEqual

func (p *NoteServiceUpdateNoteResult) Field0DeepEqual(src *UpdateNoteResponse) bool

func (*NoteServiceUpdateNoteResult) GetResult

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

func (*NoteServiceUpdateNoteResult) GetSuccess

func (p *NoteServiceUpdateNoteResult) GetSuccess() (v *UpdateNoteResponse)

func (*NoteServiceUpdateNoteResult) IsSetSuccess

func (p *NoteServiceUpdateNoteResult) IsSetSuccess() bool

func (*NoteServiceUpdateNoteResult) Read

func (p *NoteServiceUpdateNoteResult) Read(iprot thrift.TProtocol) (err error)

func (*NoteServiceUpdateNoteResult) ReadField0

func (p *NoteServiceUpdateNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteServiceUpdateNoteResult) SetSuccess

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

func (*NoteServiceUpdateNoteResult) String

func (p *NoteServiceUpdateNoteResult) String() string

func (*NoteServiceUpdateNoteResult) Write

func (p *NoteServiceUpdateNoteResult) Write(oprot thrift.TProtocol) (err error)

type QueryNoteRequest

type QueryNoteRequest struct {
	UserId    int64   `thrift:"user_id,1" json:"user_id"`
	SearchKey *string `thrift:"search_key,2,optional" json:"search_key,omitempty"`
	Offset    int64   `thrift:"offset,3" json:"offset"`
	Limit     int64   `thrift:"limit,4" json:"limit"`
}
var NoteServiceQueryNoteArgs_Req_DEFAULT *QueryNoteRequest

func NewQueryNoteRequest

func NewQueryNoteRequest() *QueryNoteRequest

func (*QueryNoteRequest) BLength

func (p *QueryNoteRequest) BLength() int

func (*QueryNoteRequest) DeepEqual

func (p *QueryNoteRequest) DeepEqual(ano *QueryNoteRequest) bool

func (*QueryNoteRequest) FastRead

func (p *QueryNoteRequest) FastRead(buf []byte) (int, error)

func (*QueryNoteRequest) FastReadField1

func (p *QueryNoteRequest) FastReadField1(buf []byte) (int, error)

func (*QueryNoteRequest) FastReadField2

func (p *QueryNoteRequest) FastReadField2(buf []byte) (int, error)

func (*QueryNoteRequest) FastReadField3

func (p *QueryNoteRequest) FastReadField3(buf []byte) (int, error)

func (*QueryNoteRequest) FastReadField4

func (p *QueryNoteRequest) FastReadField4(buf []byte) (int, error)

func (*QueryNoteRequest) FastWrite

func (p *QueryNoteRequest) FastWrite(buf []byte) int

for compatibility

func (*QueryNoteRequest) FastWriteNocopy

func (p *QueryNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*QueryNoteRequest) Field1DeepEqual

func (p *QueryNoteRequest) Field1DeepEqual(src int64) bool

func (*QueryNoteRequest) Field2DeepEqual

func (p *QueryNoteRequest) Field2DeepEqual(src *string) bool

func (*QueryNoteRequest) Field3DeepEqual

func (p *QueryNoteRequest) Field3DeepEqual(src int64) bool

func (*QueryNoteRequest) Field4DeepEqual

func (p *QueryNoteRequest) Field4DeepEqual(src int64) bool

func (*QueryNoteRequest) GetLimit

func (p *QueryNoteRequest) GetLimit() (v int64)

func (*QueryNoteRequest) GetOffset

func (p *QueryNoteRequest) GetOffset() (v int64)

func (*QueryNoteRequest) GetSearchKey

func (p *QueryNoteRequest) GetSearchKey() (v string)

func (*QueryNoteRequest) GetUserId

func (p *QueryNoteRequest) GetUserId() (v int64)

func (*QueryNoteRequest) IsSetSearchKey

func (p *QueryNoteRequest) IsSetSearchKey() bool

func (*QueryNoteRequest) IsValid

func (p *QueryNoteRequest) IsValid() error

func (*QueryNoteRequest) Read

func (p *QueryNoteRequest) Read(iprot thrift.TProtocol) (err error)

func (*QueryNoteRequest) ReadField1

func (p *QueryNoteRequest) ReadField1(iprot thrift.TProtocol) error

func (*QueryNoteRequest) ReadField2

func (p *QueryNoteRequest) ReadField2(iprot thrift.TProtocol) error

func (*QueryNoteRequest) ReadField3

func (p *QueryNoteRequest) ReadField3(iprot thrift.TProtocol) error

func (*QueryNoteRequest) ReadField4

func (p *QueryNoteRequest) ReadField4(iprot thrift.TProtocol) error

func (*QueryNoteRequest) SetLimit

func (p *QueryNoteRequest) SetLimit(val int64)

func (*QueryNoteRequest) SetOffset

func (p *QueryNoteRequest) SetOffset(val int64)

func (*QueryNoteRequest) SetSearchKey

func (p *QueryNoteRequest) SetSearchKey(val *string)

func (*QueryNoteRequest) SetUserId

func (p *QueryNoteRequest) SetUserId(val int64)

func (*QueryNoteRequest) String

func (p *QueryNoteRequest) String() string

func (*QueryNoteRequest) Write

func (p *QueryNoteRequest) Write(oprot thrift.TProtocol) (err error)

type QueryNoteResponse

type QueryNoteResponse struct {
	Notes    []*Note   `thrift:"notes,1" json:"notes"`
	Total    int64     `thrift:"total,2" json:"total"`
	BaseResp *BaseResp `thrift:"base_resp,3" json:"base_resp"`
}
var NoteServiceQueryNoteResult_Success_DEFAULT *QueryNoteResponse

func NewQueryNoteResponse

func NewQueryNoteResponse() *QueryNoteResponse

func (*QueryNoteResponse) BLength

func (p *QueryNoteResponse) BLength() int

func (*QueryNoteResponse) DeepEqual

func (p *QueryNoteResponse) DeepEqual(ano *QueryNoteResponse) bool

func (*QueryNoteResponse) FastRead

func (p *QueryNoteResponse) FastRead(buf []byte) (int, error)

func (*QueryNoteResponse) FastReadField1

func (p *QueryNoteResponse) FastReadField1(buf []byte) (int, error)

func (*QueryNoteResponse) FastReadField2

func (p *QueryNoteResponse) FastReadField2(buf []byte) (int, error)

func (*QueryNoteResponse) FastReadField3

func (p *QueryNoteResponse) FastReadField3(buf []byte) (int, error)

func (*QueryNoteResponse) FastWrite

func (p *QueryNoteResponse) FastWrite(buf []byte) int

for compatibility

func (*QueryNoteResponse) FastWriteNocopy

func (p *QueryNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*QueryNoteResponse) Field1DeepEqual

func (p *QueryNoteResponse) Field1DeepEqual(src []*Note) bool

func (*QueryNoteResponse) Field2DeepEqual

func (p *QueryNoteResponse) Field2DeepEqual(src int64) bool

func (*QueryNoteResponse) Field3DeepEqual

func (p *QueryNoteResponse) Field3DeepEqual(src *BaseResp) bool

func (*QueryNoteResponse) GetBaseResp

func (p *QueryNoteResponse) GetBaseResp() (v *BaseResp)

func (*QueryNoteResponse) GetNotes

func (p *QueryNoteResponse) GetNotes() (v []*Note)

func (*QueryNoteResponse) GetTotal

func (p *QueryNoteResponse) GetTotal() (v int64)

func (*QueryNoteResponse) IsSetBaseResp

func (p *QueryNoteResponse) IsSetBaseResp() bool

func (*QueryNoteResponse) IsValid

func (p *QueryNoteResponse) IsValid() error

func (*QueryNoteResponse) Read

func (p *QueryNoteResponse) Read(iprot thrift.TProtocol) (err error)

func (*QueryNoteResponse) ReadField1

func (p *QueryNoteResponse) ReadField1(iprot thrift.TProtocol) error

func (*QueryNoteResponse) ReadField2

func (p *QueryNoteResponse) ReadField2(iprot thrift.TProtocol) error

func (*QueryNoteResponse) ReadField3

func (p *QueryNoteResponse) ReadField3(iprot thrift.TProtocol) error

func (*QueryNoteResponse) SetBaseResp

func (p *QueryNoteResponse) SetBaseResp(val *BaseResp)

func (*QueryNoteResponse) SetNotes

func (p *QueryNoteResponse) SetNotes(val []*Note)

func (*QueryNoteResponse) SetTotal

func (p *QueryNoteResponse) SetTotal(val int64)

func (*QueryNoteResponse) String

func (p *QueryNoteResponse) String() string

func (*QueryNoteResponse) Write

func (p *QueryNoteResponse) Write(oprot thrift.TProtocol) (err error)

type UpdateNoteRequest

type UpdateNoteRequest struct {
	NoteId  int64   `thrift:"note_id,1" json:"note_id"`
	UserId  int64   `thrift:"user_id,2" json:"user_id"`
	Title   *string `thrift:"title,3,optional" json:"title,omitempty"`
	Content *string `thrift:"content,4,optional" json:"content,omitempty"`
}
var NoteServiceUpdateNoteArgs_Req_DEFAULT *UpdateNoteRequest

func NewUpdateNoteRequest

func NewUpdateNoteRequest() *UpdateNoteRequest

func (*UpdateNoteRequest) BLength

func (p *UpdateNoteRequest) BLength() int

func (*UpdateNoteRequest) DeepEqual

func (p *UpdateNoteRequest) DeepEqual(ano *UpdateNoteRequest) bool

func (*UpdateNoteRequest) FastRead

func (p *UpdateNoteRequest) FastRead(buf []byte) (int, error)

func (*UpdateNoteRequest) FastReadField1

func (p *UpdateNoteRequest) FastReadField1(buf []byte) (int, error)

func (*UpdateNoteRequest) FastReadField2

func (p *UpdateNoteRequest) FastReadField2(buf []byte) (int, error)

func (*UpdateNoteRequest) FastReadField3

func (p *UpdateNoteRequest) FastReadField3(buf []byte) (int, error)

func (*UpdateNoteRequest) FastReadField4

func (p *UpdateNoteRequest) FastReadField4(buf []byte) (int, error)

func (*UpdateNoteRequest) FastWrite

func (p *UpdateNoteRequest) FastWrite(buf []byte) int

for compatibility

func (*UpdateNoteRequest) FastWriteNocopy

func (p *UpdateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UpdateNoteRequest) Field1DeepEqual

func (p *UpdateNoteRequest) Field1DeepEqual(src int64) bool

func (*UpdateNoteRequest) Field2DeepEqual

func (p *UpdateNoteRequest) Field2DeepEqual(src int64) bool

func (*UpdateNoteRequest) Field3DeepEqual

func (p *UpdateNoteRequest) Field3DeepEqual(src *string) bool

func (*UpdateNoteRequest) Field4DeepEqual

func (p *UpdateNoteRequest) Field4DeepEqual(src *string) bool

func (*UpdateNoteRequest) GetContent

func (p *UpdateNoteRequest) GetContent() (v string)

func (*UpdateNoteRequest) GetNoteId

func (p *UpdateNoteRequest) GetNoteId() (v int64)

func (*UpdateNoteRequest) GetTitle

func (p *UpdateNoteRequest) GetTitle() (v string)

func (*UpdateNoteRequest) GetUserId

func (p *UpdateNoteRequest) GetUserId() (v int64)

func (*UpdateNoteRequest) IsSetContent

func (p *UpdateNoteRequest) IsSetContent() bool

func (*UpdateNoteRequest) IsSetTitle

func (p *UpdateNoteRequest) IsSetTitle() bool

func (*UpdateNoteRequest) IsValid

func (p *UpdateNoteRequest) IsValid() error

func (*UpdateNoteRequest) Read

func (p *UpdateNoteRequest) Read(iprot thrift.TProtocol) (err error)

func (*UpdateNoteRequest) ReadField1

func (p *UpdateNoteRequest) ReadField1(iprot thrift.TProtocol) error

func (*UpdateNoteRequest) ReadField2

func (p *UpdateNoteRequest) ReadField2(iprot thrift.TProtocol) error

func (*UpdateNoteRequest) ReadField3

func (p *UpdateNoteRequest) ReadField3(iprot thrift.TProtocol) error

func (*UpdateNoteRequest) ReadField4

func (p *UpdateNoteRequest) ReadField4(iprot thrift.TProtocol) error

func (*UpdateNoteRequest) SetContent

func (p *UpdateNoteRequest) SetContent(val *string)

func (*UpdateNoteRequest) SetNoteId

func (p *UpdateNoteRequest) SetNoteId(val int64)

func (*UpdateNoteRequest) SetTitle

func (p *UpdateNoteRequest) SetTitle(val *string)

func (*UpdateNoteRequest) SetUserId

func (p *UpdateNoteRequest) SetUserId(val int64)

func (*UpdateNoteRequest) String

func (p *UpdateNoteRequest) String() string

func (*UpdateNoteRequest) Write

func (p *UpdateNoteRequest) Write(oprot thrift.TProtocol) (err error)

type UpdateNoteResponse

type UpdateNoteResponse struct {
	BaseResp *BaseResp `thrift:"base_resp,1" json:"base_resp"`
}
var NoteServiceUpdateNoteResult_Success_DEFAULT *UpdateNoteResponse

func NewUpdateNoteResponse

func NewUpdateNoteResponse() *UpdateNoteResponse

func (*UpdateNoteResponse) BLength

func (p *UpdateNoteResponse) BLength() int

func (*UpdateNoteResponse) DeepEqual

func (p *UpdateNoteResponse) DeepEqual(ano *UpdateNoteResponse) bool

func (*UpdateNoteResponse) FastRead

func (p *UpdateNoteResponse) FastRead(buf []byte) (int, error)

func (*UpdateNoteResponse) FastReadField1

func (p *UpdateNoteResponse) FastReadField1(buf []byte) (int, error)

func (*UpdateNoteResponse) FastWrite

func (p *UpdateNoteResponse) FastWrite(buf []byte) int

for compatibility

func (*UpdateNoteResponse) FastWriteNocopy

func (p *UpdateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*UpdateNoteResponse) Field1DeepEqual

func (p *UpdateNoteResponse) Field1DeepEqual(src *BaseResp) bool

func (*UpdateNoteResponse) GetBaseResp

func (p *UpdateNoteResponse) GetBaseResp() (v *BaseResp)

func (*UpdateNoteResponse) IsSetBaseResp

func (p *UpdateNoteResponse) IsSetBaseResp() bool

func (*UpdateNoteResponse) IsValid

func (p *UpdateNoteResponse) IsValid() error

func (*UpdateNoteResponse) Read

func (p *UpdateNoteResponse) Read(iprot thrift.TProtocol) (err error)

func (*UpdateNoteResponse) ReadField1

func (p *UpdateNoteResponse) ReadField1(iprot thrift.TProtocol) error

func (*UpdateNoteResponse) SetBaseResp

func (p *UpdateNoteResponse) SetBaseResp(val *BaseResp)

func (*UpdateNoteResponse) String

func (p *UpdateNoteResponse) String() string

func (*UpdateNoteResponse) Write

func (p *UpdateNoteResponse) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.4.3.
Code generated by Kitex v0.4.3.

Jump to

Keyboard shortcuts

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