Documentation ¶
Index ¶
- Variables
- type BaseResp
- func (p *BaseResp) BLength() int
- func (p *BaseResp) DeepEqual(ano *BaseResp) bool
- func (p *BaseResp) FastRead(buf []byte) (int, error)
- func (p *BaseResp) FastReadField1(buf []byte) (int, error)
- func (p *BaseResp) FastReadField2(buf []byte) (int, error)
- func (p *BaseResp) FastReadField3(buf []byte) (int, error)
- func (p *BaseResp) FastWrite(buf []byte) int
- func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *BaseResp) Field1DeepEqual(src int64) bool
- func (p *BaseResp) Field2DeepEqual(src string) bool
- func (p *BaseResp) Field3DeepEqual(src int64) bool
- func (p *BaseResp) GetServiceTime() (v int64)
- func (p *BaseResp) GetStatusCode() (v int64)
- func (p *BaseResp) GetStatusMessage() (v string)
- func (p *BaseResp) IsValid() error
- func (p *BaseResp) Read(iprot thrift.TProtocol) (err error)
- func (p *BaseResp) ReadField1(iprot thrift.TProtocol) error
- func (p *BaseResp) ReadField2(iprot thrift.TProtocol) error
- func (p *BaseResp) ReadField3(iprot thrift.TProtocol) error
- func (p *BaseResp) SetServiceTime(val int64)
- func (p *BaseResp) SetStatusCode(val int64)
- func (p *BaseResp) SetStatusMessage(val string)
- func (p *BaseResp) String() string
- func (p *BaseResp) Write(oprot thrift.TProtocol) (err error)
- type CreateNoteRequest
- func (p *CreateNoteRequest) BLength() int
- func (p *CreateNoteRequest) DeepEqual(ano *CreateNoteRequest) bool
- func (p *CreateNoteRequest) FastRead(buf []byte) (int, error)
- func (p *CreateNoteRequest) FastReadField1(buf []byte) (int, error)
- func (p *CreateNoteRequest) FastReadField2(buf []byte) (int, error)
- func (p *CreateNoteRequest) FastReadField3(buf []byte) (int, error)
- func (p *CreateNoteRequest) FastWrite(buf []byte) int
- func (p *CreateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateNoteRequest) Field1DeepEqual(src string) bool
- func (p *CreateNoteRequest) Field2DeepEqual(src string) bool
- func (p *CreateNoteRequest) Field3DeepEqual(src int64) bool
- func (p *CreateNoteRequest) GetContent() (v string)
- func (p *CreateNoteRequest) GetTitle() (v string)
- func (p *CreateNoteRequest) GetUserId() (v int64)
- func (p *CreateNoteRequest) IsValid() error
- func (p *CreateNoteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateNoteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateNoteRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CreateNoteRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *CreateNoteRequest) SetContent(val string)
- func (p *CreateNoteRequest) SetTitle(val string)
- func (p *CreateNoteRequest) SetUserId(val int64)
- func (p *CreateNoteRequest) String() string
- func (p *CreateNoteRequest) Write(oprot thrift.TProtocol) (err error)
- type CreateNoteResponse
- func (p *CreateNoteResponse) BLength() int
- func (p *CreateNoteResponse) DeepEqual(ano *CreateNoteResponse) bool
- func (p *CreateNoteResponse) FastRead(buf []byte) (int, error)
- func (p *CreateNoteResponse) FastReadField1(buf []byte) (int, error)
- func (p *CreateNoteResponse) FastWrite(buf []byte) int
- func (p *CreateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *CreateNoteResponse) Field1DeepEqual(src *BaseResp) bool
- func (p *CreateNoteResponse) GetBaseResp() (v *BaseResp)
- func (p *CreateNoteResponse) IsSetBaseResp() bool
- func (p *CreateNoteResponse) IsValid() error
- func (p *CreateNoteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CreateNoteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CreateNoteResponse) SetBaseResp(val *BaseResp)
- func (p *CreateNoteResponse) String() string
- func (p *CreateNoteResponse) Write(oprot thrift.TProtocol) (err error)
- type DeleteNoteRequest
- func (p *DeleteNoteRequest) BLength() int
- func (p *DeleteNoteRequest) DeepEqual(ano *DeleteNoteRequest) bool
- func (p *DeleteNoteRequest) FastRead(buf []byte) (int, error)
- func (p *DeleteNoteRequest) FastReadField1(buf []byte) (int, error)
- func (p *DeleteNoteRequest) FastReadField2(buf []byte) (int, error)
- func (p *DeleteNoteRequest) FastWrite(buf []byte) int
- func (p *DeleteNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteNoteRequest) Field1DeepEqual(src int64) bool
- func (p *DeleteNoteRequest) Field2DeepEqual(src int64) bool
- func (p *DeleteNoteRequest) GetNoteId() (v int64)
- func (p *DeleteNoteRequest) GetUserId() (v int64)
- func (p *DeleteNoteRequest) IsValid() error
- func (p *DeleteNoteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteNoteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteNoteRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *DeleteNoteRequest) SetNoteId(val int64)
- func (p *DeleteNoteRequest) SetUserId(val int64)
- func (p *DeleteNoteRequest) String() string
- func (p *DeleteNoteRequest) Write(oprot thrift.TProtocol) (err error)
- type DeleteNoteResponse
- func (p *DeleteNoteResponse) BLength() int
- func (p *DeleteNoteResponse) DeepEqual(ano *DeleteNoteResponse) bool
- func (p *DeleteNoteResponse) FastRead(buf []byte) (int, error)
- func (p *DeleteNoteResponse) FastReadField1(buf []byte) (int, error)
- func (p *DeleteNoteResponse) FastWrite(buf []byte) int
- func (p *DeleteNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *DeleteNoteResponse) Field1DeepEqual(src *BaseResp) bool
- func (p *DeleteNoteResponse) GetBaseResp() (v *BaseResp)
- func (p *DeleteNoteResponse) IsSetBaseResp() bool
- func (p *DeleteNoteResponse) IsValid() error
- func (p *DeleteNoteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *DeleteNoteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *DeleteNoteResponse) SetBaseResp(val *BaseResp)
- func (p *DeleteNoteResponse) String() string
- func (p *DeleteNoteResponse) Write(oprot thrift.TProtocol) (err error)
- type MGetNoteRequest
- func (p *MGetNoteRequest) BLength() int
- func (p *MGetNoteRequest) DeepEqual(ano *MGetNoteRequest) bool
- func (p *MGetNoteRequest) FastRead(buf []byte) (int, error)
- func (p *MGetNoteRequest) FastReadField1(buf []byte) (int, error)
- func (p *MGetNoteRequest) FastWrite(buf []byte) int
- func (p *MGetNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGetNoteRequest) Field1DeepEqual(src []int64) bool
- func (p *MGetNoteRequest) GetNoteIds() (v []int64)
- func (p *MGetNoteRequest) IsValid() error
- func (p *MGetNoteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MGetNoteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MGetNoteRequest) SetNoteIds(val []int64)
- func (p *MGetNoteRequest) String() string
- func (p *MGetNoteRequest) Write(oprot thrift.TProtocol) (err error)
- type MGetNoteResponse
- func (p *MGetNoteResponse) BLength() int
- func (p *MGetNoteResponse) DeepEqual(ano *MGetNoteResponse) bool
- func (p *MGetNoteResponse) FastRead(buf []byte) (int, error)
- func (p *MGetNoteResponse) FastReadField1(buf []byte) (int, error)
- func (p *MGetNoteResponse) FastReadField2(buf []byte) (int, error)
- func (p *MGetNoteResponse) FastWrite(buf []byte) int
- func (p *MGetNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *MGetNoteResponse) Field1DeepEqual(src []*Note) bool
- func (p *MGetNoteResponse) Field2DeepEqual(src *BaseResp) bool
- func (p *MGetNoteResponse) GetBaseResp() (v *BaseResp)
- func (p *MGetNoteResponse) GetNotes() (v []*Note)
- func (p *MGetNoteResponse) IsSetBaseResp() bool
- func (p *MGetNoteResponse) IsValid() error
- func (p *MGetNoteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MGetNoteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MGetNoteResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MGetNoteResponse) SetBaseResp(val *BaseResp)
- func (p *MGetNoteResponse) SetNotes(val []*Note)
- func (p *MGetNoteResponse) String() string
- func (p *MGetNoteResponse) Write(oprot thrift.TProtocol) (err error)
- type Note
- func (p *Note) BLength() int
- func (p *Note) DeepEqual(ano *Note) bool
- func (p *Note) FastRead(buf []byte) (int, error)
- func (p *Note) FastReadField1(buf []byte) (int, error)
- func (p *Note) FastReadField2(buf []byte) (int, error)
- func (p *Note) FastReadField3(buf []byte) (int, error)
- func (p *Note) FastReadField4(buf []byte) (int, error)
- func (p *Note) FastReadField5(buf []byte) (int, error)
- func (p *Note) FastReadField6(buf []byte) (int, error)
- func (p *Note) FastReadField7(buf []byte) (int, error)
- func (p *Note) FastWrite(buf []byte) int
- func (p *Note) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Note) Field1DeepEqual(src int64) bool
- func (p *Note) Field2DeepEqual(src int64) bool
- func (p *Note) Field3DeepEqual(src string) bool
- func (p *Note) Field4DeepEqual(src string) bool
- func (p *Note) Field5DeepEqual(src string) bool
- func (p *Note) Field6DeepEqual(src string) bool
- func (p *Note) Field7DeepEqual(src int64) bool
- func (p *Note) GetContent() (v string)
- func (p *Note) GetCreateTime() (v int64)
- func (p *Note) GetNoteId() (v int64)
- func (p *Note) GetTitle() (v string)
- func (p *Note) GetUserAvatar() (v string)
- func (p *Note) GetUserId() (v int64)
- func (p *Note) GetUsername() (v string)
- func (p *Note) IsValid() error
- func (p *Note) Read(iprot thrift.TProtocol) (err error)
- func (p *Note) ReadField1(iprot thrift.TProtocol) error
- func (p *Note) ReadField2(iprot thrift.TProtocol) error
- func (p *Note) ReadField3(iprot thrift.TProtocol) error
- func (p *Note) ReadField4(iprot thrift.TProtocol) error
- func (p *Note) ReadField5(iprot thrift.TProtocol) error
- func (p *Note) ReadField6(iprot thrift.TProtocol) error
- func (p *Note) ReadField7(iprot thrift.TProtocol) error
- func (p *Note) SetContent(val string)
- func (p *Note) SetCreateTime(val int64)
- func (p *Note) SetNoteId(val int64)
- func (p *Note) SetTitle(val string)
- func (p *Note) SetUserAvatar(val string)
- func (p *Note) SetUserId(val int64)
- func (p *Note) SetUsername(val string)
- func (p *Note) String() string
- func (p *Note) Write(oprot thrift.TProtocol) (err error)
- type NoteService
- type NoteServiceClient
- func (p *NoteServiceClient) Client_() thrift.TClient
- func (p *NoteServiceClient) CreateNote(ctx context.Context, req *CreateNoteRequest) (r *CreateNoteResponse, err error)
- func (p *NoteServiceClient) DeleteNote(ctx context.Context, req *DeleteNoteRequest) (r *DeleteNoteResponse, err error)
- func (p *NoteServiceClient) MGetNote(ctx context.Context, req *MGetNoteRequest) (r *MGetNoteResponse, err error)
- func (p *NoteServiceClient) QueryNote(ctx context.Context, req *QueryNoteRequest) (r *QueryNoteResponse, err error)
- func (p *NoteServiceClient) UpdateNote(ctx context.Context, req *UpdateNoteRequest) (r *UpdateNoteResponse, err error)
- type NoteServiceCreateNoteArgs
- func (p *NoteServiceCreateNoteArgs) BLength() int
- func (p *NoteServiceCreateNoteArgs) DeepEqual(ano *NoteServiceCreateNoteArgs) bool
- func (p *NoteServiceCreateNoteArgs) FastRead(buf []byte) (int, error)
- func (p *NoteServiceCreateNoteArgs) FastReadField1(buf []byte) (int, error)
- func (p *NoteServiceCreateNoteArgs) FastWrite(buf []byte) int
- func (p *NoteServiceCreateNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceCreateNoteArgs) Field1DeepEqual(src *CreateNoteRequest) bool
- func (p *NoteServiceCreateNoteArgs) GetFirstArgument() interface{}
- func (p *NoteServiceCreateNoteArgs) GetReq() (v *CreateNoteRequest)
- func (p *NoteServiceCreateNoteArgs) IsSetReq() bool
- func (p *NoteServiceCreateNoteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceCreateNoteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *NoteServiceCreateNoteArgs) SetReq(val *CreateNoteRequest)
- func (p *NoteServiceCreateNoteArgs) String() string
- func (p *NoteServiceCreateNoteArgs) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceCreateNoteResult
- func (p *NoteServiceCreateNoteResult) BLength() int
- func (p *NoteServiceCreateNoteResult) DeepEqual(ano *NoteServiceCreateNoteResult) bool
- func (p *NoteServiceCreateNoteResult) FastRead(buf []byte) (int, error)
- func (p *NoteServiceCreateNoteResult) FastReadField0(buf []byte) (int, error)
- func (p *NoteServiceCreateNoteResult) FastWrite(buf []byte) int
- func (p *NoteServiceCreateNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceCreateNoteResult) Field0DeepEqual(src *CreateNoteResponse) bool
- func (p *NoteServiceCreateNoteResult) GetResult() interface{}
- func (p *NoteServiceCreateNoteResult) GetSuccess() (v *CreateNoteResponse)
- func (p *NoteServiceCreateNoteResult) IsSetSuccess() bool
- func (p *NoteServiceCreateNoteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceCreateNoteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *NoteServiceCreateNoteResult) SetSuccess(x interface{})
- func (p *NoteServiceCreateNoteResult) String() string
- func (p *NoteServiceCreateNoteResult) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceDeleteNoteArgs
- func (p *NoteServiceDeleteNoteArgs) BLength() int
- func (p *NoteServiceDeleteNoteArgs) DeepEqual(ano *NoteServiceDeleteNoteArgs) bool
- func (p *NoteServiceDeleteNoteArgs) FastRead(buf []byte) (int, error)
- func (p *NoteServiceDeleteNoteArgs) FastReadField1(buf []byte) (int, error)
- func (p *NoteServiceDeleteNoteArgs) FastWrite(buf []byte) int
- func (p *NoteServiceDeleteNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceDeleteNoteArgs) Field1DeepEqual(src *DeleteNoteRequest) bool
- func (p *NoteServiceDeleteNoteArgs) GetFirstArgument() interface{}
- func (p *NoteServiceDeleteNoteArgs) GetReq() (v *DeleteNoteRequest)
- func (p *NoteServiceDeleteNoteArgs) IsSetReq() bool
- func (p *NoteServiceDeleteNoteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceDeleteNoteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *NoteServiceDeleteNoteArgs) SetReq(val *DeleteNoteRequest)
- func (p *NoteServiceDeleteNoteArgs) String() string
- func (p *NoteServiceDeleteNoteArgs) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceDeleteNoteResult
- func (p *NoteServiceDeleteNoteResult) BLength() int
- func (p *NoteServiceDeleteNoteResult) DeepEqual(ano *NoteServiceDeleteNoteResult) bool
- func (p *NoteServiceDeleteNoteResult) FastRead(buf []byte) (int, error)
- func (p *NoteServiceDeleteNoteResult) FastReadField0(buf []byte) (int, error)
- func (p *NoteServiceDeleteNoteResult) FastWrite(buf []byte) int
- func (p *NoteServiceDeleteNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceDeleteNoteResult) Field0DeepEqual(src *DeleteNoteResponse) bool
- func (p *NoteServiceDeleteNoteResult) GetResult() interface{}
- func (p *NoteServiceDeleteNoteResult) GetSuccess() (v *DeleteNoteResponse)
- func (p *NoteServiceDeleteNoteResult) IsSetSuccess() bool
- func (p *NoteServiceDeleteNoteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceDeleteNoteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *NoteServiceDeleteNoteResult) SetSuccess(x interface{})
- func (p *NoteServiceDeleteNoteResult) String() string
- func (p *NoteServiceDeleteNoteResult) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceMGetNoteArgs
- func (p *NoteServiceMGetNoteArgs) BLength() int
- func (p *NoteServiceMGetNoteArgs) DeepEqual(ano *NoteServiceMGetNoteArgs) bool
- func (p *NoteServiceMGetNoteArgs) FastRead(buf []byte) (int, error)
- func (p *NoteServiceMGetNoteArgs) FastReadField1(buf []byte) (int, error)
- func (p *NoteServiceMGetNoteArgs) FastWrite(buf []byte) int
- func (p *NoteServiceMGetNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceMGetNoteArgs) Field1DeepEqual(src *MGetNoteRequest) bool
- func (p *NoteServiceMGetNoteArgs) GetFirstArgument() interface{}
- func (p *NoteServiceMGetNoteArgs) GetReq() (v *MGetNoteRequest)
- func (p *NoteServiceMGetNoteArgs) IsSetReq() bool
- func (p *NoteServiceMGetNoteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceMGetNoteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *NoteServiceMGetNoteArgs) SetReq(val *MGetNoteRequest)
- func (p *NoteServiceMGetNoteArgs) String() string
- func (p *NoteServiceMGetNoteArgs) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceMGetNoteResult
- func (p *NoteServiceMGetNoteResult) BLength() int
- func (p *NoteServiceMGetNoteResult) DeepEqual(ano *NoteServiceMGetNoteResult) bool
- func (p *NoteServiceMGetNoteResult) FastRead(buf []byte) (int, error)
- func (p *NoteServiceMGetNoteResult) FastReadField0(buf []byte) (int, error)
- func (p *NoteServiceMGetNoteResult) FastWrite(buf []byte) int
- func (p *NoteServiceMGetNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceMGetNoteResult) Field0DeepEqual(src *MGetNoteResponse) bool
- func (p *NoteServiceMGetNoteResult) GetResult() interface{}
- func (p *NoteServiceMGetNoteResult) GetSuccess() (v *MGetNoteResponse)
- func (p *NoteServiceMGetNoteResult) IsSetSuccess() bool
- func (p *NoteServiceMGetNoteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceMGetNoteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *NoteServiceMGetNoteResult) SetSuccess(x interface{})
- func (p *NoteServiceMGetNoteResult) String() string
- func (p *NoteServiceMGetNoteResult) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceProcessor
- func (p *NoteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *NoteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *NoteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *NoteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type NoteServiceQueryNoteArgs
- func (p *NoteServiceQueryNoteArgs) BLength() int
- func (p *NoteServiceQueryNoteArgs) DeepEqual(ano *NoteServiceQueryNoteArgs) bool
- func (p *NoteServiceQueryNoteArgs) FastRead(buf []byte) (int, error)
- func (p *NoteServiceQueryNoteArgs) FastReadField1(buf []byte) (int, error)
- func (p *NoteServiceQueryNoteArgs) FastWrite(buf []byte) int
- func (p *NoteServiceQueryNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceQueryNoteArgs) Field1DeepEqual(src *QueryNoteRequest) bool
- func (p *NoteServiceQueryNoteArgs) GetFirstArgument() interface{}
- func (p *NoteServiceQueryNoteArgs) GetReq() (v *QueryNoteRequest)
- func (p *NoteServiceQueryNoteArgs) IsSetReq() bool
- func (p *NoteServiceQueryNoteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceQueryNoteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *NoteServiceQueryNoteArgs) SetReq(val *QueryNoteRequest)
- func (p *NoteServiceQueryNoteArgs) String() string
- func (p *NoteServiceQueryNoteArgs) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceQueryNoteResult
- func (p *NoteServiceQueryNoteResult) BLength() int
- func (p *NoteServiceQueryNoteResult) DeepEqual(ano *NoteServiceQueryNoteResult) bool
- func (p *NoteServiceQueryNoteResult) FastRead(buf []byte) (int, error)
- func (p *NoteServiceQueryNoteResult) FastReadField0(buf []byte) (int, error)
- func (p *NoteServiceQueryNoteResult) FastWrite(buf []byte) int
- func (p *NoteServiceQueryNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceQueryNoteResult) Field0DeepEqual(src *QueryNoteResponse) bool
- func (p *NoteServiceQueryNoteResult) GetResult() interface{}
- func (p *NoteServiceQueryNoteResult) GetSuccess() (v *QueryNoteResponse)
- func (p *NoteServiceQueryNoteResult) IsSetSuccess() bool
- func (p *NoteServiceQueryNoteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceQueryNoteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *NoteServiceQueryNoteResult) SetSuccess(x interface{})
- func (p *NoteServiceQueryNoteResult) String() string
- func (p *NoteServiceQueryNoteResult) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceUpdateNoteArgs
- func (p *NoteServiceUpdateNoteArgs) BLength() int
- func (p *NoteServiceUpdateNoteArgs) DeepEqual(ano *NoteServiceUpdateNoteArgs) bool
- func (p *NoteServiceUpdateNoteArgs) FastRead(buf []byte) (int, error)
- func (p *NoteServiceUpdateNoteArgs) FastReadField1(buf []byte) (int, error)
- func (p *NoteServiceUpdateNoteArgs) FastWrite(buf []byte) int
- func (p *NoteServiceUpdateNoteArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceUpdateNoteArgs) Field1DeepEqual(src *UpdateNoteRequest) bool
- func (p *NoteServiceUpdateNoteArgs) GetFirstArgument() interface{}
- func (p *NoteServiceUpdateNoteArgs) GetReq() (v *UpdateNoteRequest)
- func (p *NoteServiceUpdateNoteArgs) IsSetReq() bool
- func (p *NoteServiceUpdateNoteArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceUpdateNoteArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *NoteServiceUpdateNoteArgs) SetReq(val *UpdateNoteRequest)
- func (p *NoteServiceUpdateNoteArgs) String() string
- func (p *NoteServiceUpdateNoteArgs) Write(oprot thrift.TProtocol) (err error)
- type NoteServiceUpdateNoteResult
- func (p *NoteServiceUpdateNoteResult) BLength() int
- func (p *NoteServiceUpdateNoteResult) DeepEqual(ano *NoteServiceUpdateNoteResult) bool
- func (p *NoteServiceUpdateNoteResult) FastRead(buf []byte) (int, error)
- func (p *NoteServiceUpdateNoteResult) FastReadField0(buf []byte) (int, error)
- func (p *NoteServiceUpdateNoteResult) FastWrite(buf []byte) int
- func (p *NoteServiceUpdateNoteResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *NoteServiceUpdateNoteResult) Field0DeepEqual(src *UpdateNoteResponse) bool
- func (p *NoteServiceUpdateNoteResult) GetResult() interface{}
- func (p *NoteServiceUpdateNoteResult) GetSuccess() (v *UpdateNoteResponse)
- func (p *NoteServiceUpdateNoteResult) IsSetSuccess() bool
- func (p *NoteServiceUpdateNoteResult) Read(iprot thrift.TProtocol) (err error)
- func (p *NoteServiceUpdateNoteResult) ReadField0(iprot thrift.TProtocol) error
- func (p *NoteServiceUpdateNoteResult) SetSuccess(x interface{})
- func (p *NoteServiceUpdateNoteResult) String() string
- func (p *NoteServiceUpdateNoteResult) Write(oprot thrift.TProtocol) (err error)
- type QueryNoteRequest
- func (p *QueryNoteRequest) BLength() int
- func (p *QueryNoteRequest) DeepEqual(ano *QueryNoteRequest) bool
- func (p *QueryNoteRequest) FastRead(buf []byte) (int, error)
- func (p *QueryNoteRequest) FastReadField1(buf []byte) (int, error)
- func (p *QueryNoteRequest) FastReadField2(buf []byte) (int, error)
- func (p *QueryNoteRequest) FastReadField3(buf []byte) (int, error)
- func (p *QueryNoteRequest) FastReadField4(buf []byte) (int, error)
- func (p *QueryNoteRequest) FastWrite(buf []byte) int
- func (p *QueryNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *QueryNoteRequest) Field1DeepEqual(src int64) bool
- func (p *QueryNoteRequest) Field2DeepEqual(src *string) bool
- func (p *QueryNoteRequest) Field3DeepEqual(src int64) bool
- func (p *QueryNoteRequest) Field4DeepEqual(src int64) bool
- func (p *QueryNoteRequest) GetLimit() (v int64)
- func (p *QueryNoteRequest) GetOffset() (v int64)
- func (p *QueryNoteRequest) GetSearchKey() (v string)
- func (p *QueryNoteRequest) GetUserId() (v int64)
- func (p *QueryNoteRequest) IsSetSearchKey() bool
- func (p *QueryNoteRequest) IsValid() error
- func (p *QueryNoteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *QueryNoteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *QueryNoteRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *QueryNoteRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *QueryNoteRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *QueryNoteRequest) SetLimit(val int64)
- func (p *QueryNoteRequest) SetOffset(val int64)
- func (p *QueryNoteRequest) SetSearchKey(val *string)
- func (p *QueryNoteRequest) SetUserId(val int64)
- func (p *QueryNoteRequest) String() string
- func (p *QueryNoteRequest) Write(oprot thrift.TProtocol) (err error)
- type QueryNoteResponse
- func (p *QueryNoteResponse) BLength() int
- func (p *QueryNoteResponse) DeepEqual(ano *QueryNoteResponse) bool
- func (p *QueryNoteResponse) FastRead(buf []byte) (int, error)
- func (p *QueryNoteResponse) FastReadField1(buf []byte) (int, error)
- func (p *QueryNoteResponse) FastReadField2(buf []byte) (int, error)
- func (p *QueryNoteResponse) FastReadField3(buf []byte) (int, error)
- func (p *QueryNoteResponse) FastWrite(buf []byte) int
- func (p *QueryNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *QueryNoteResponse) Field1DeepEqual(src []*Note) bool
- func (p *QueryNoteResponse) Field2DeepEqual(src int64) bool
- func (p *QueryNoteResponse) Field3DeepEqual(src *BaseResp) bool
- func (p *QueryNoteResponse) GetBaseResp() (v *BaseResp)
- func (p *QueryNoteResponse) GetNotes() (v []*Note)
- func (p *QueryNoteResponse) GetTotal() (v int64)
- func (p *QueryNoteResponse) IsSetBaseResp() bool
- func (p *QueryNoteResponse) IsValid() error
- func (p *QueryNoteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *QueryNoteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *QueryNoteResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *QueryNoteResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *QueryNoteResponse) SetBaseResp(val *BaseResp)
- func (p *QueryNoteResponse) SetNotes(val []*Note)
- func (p *QueryNoteResponse) SetTotal(val int64)
- func (p *QueryNoteResponse) String() string
- func (p *QueryNoteResponse) Write(oprot thrift.TProtocol) (err error)
- type UpdateNoteRequest
- func (p *UpdateNoteRequest) BLength() int
- func (p *UpdateNoteRequest) DeepEqual(ano *UpdateNoteRequest) bool
- func (p *UpdateNoteRequest) FastRead(buf []byte) (int, error)
- func (p *UpdateNoteRequest) FastReadField1(buf []byte) (int, error)
- func (p *UpdateNoteRequest) FastReadField2(buf []byte) (int, error)
- func (p *UpdateNoteRequest) FastReadField3(buf []byte) (int, error)
- func (p *UpdateNoteRequest) FastReadField4(buf []byte) (int, error)
- func (p *UpdateNoteRequest) FastWrite(buf []byte) int
- func (p *UpdateNoteRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateNoteRequest) Field1DeepEqual(src int64) bool
- func (p *UpdateNoteRequest) Field2DeepEqual(src int64) bool
- func (p *UpdateNoteRequest) Field3DeepEqual(src *string) bool
- func (p *UpdateNoteRequest) Field4DeepEqual(src *string) bool
- func (p *UpdateNoteRequest) GetContent() (v string)
- func (p *UpdateNoteRequest) GetNoteId() (v int64)
- func (p *UpdateNoteRequest) GetTitle() (v string)
- func (p *UpdateNoteRequest) GetUserId() (v int64)
- func (p *UpdateNoteRequest) IsSetContent() bool
- func (p *UpdateNoteRequest) IsSetTitle() bool
- func (p *UpdateNoteRequest) IsValid() error
- func (p *UpdateNoteRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateNoteRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateNoteRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateNoteRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateNoteRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateNoteRequest) SetContent(val *string)
- func (p *UpdateNoteRequest) SetNoteId(val int64)
- func (p *UpdateNoteRequest) SetTitle(val *string)
- func (p *UpdateNoteRequest) SetUserId(val int64)
- func (p *UpdateNoteRequest) String() string
- func (p *UpdateNoteRequest) Write(oprot thrift.TProtocol) (err error)
- type UpdateNoteResponse
- func (p *UpdateNoteResponse) BLength() int
- func (p *UpdateNoteResponse) DeepEqual(ano *UpdateNoteResponse) bool
- func (p *UpdateNoteResponse) FastRead(buf []byte) (int, error)
- func (p *UpdateNoteResponse) FastReadField1(buf []byte) (int, error)
- func (p *UpdateNoteResponse) FastWrite(buf []byte) int
- func (p *UpdateNoteResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *UpdateNoteResponse) Field1DeepEqual(src *BaseResp) bool
- func (p *UpdateNoteResponse) GetBaseResp() (v *BaseResp)
- func (p *UpdateNoteResponse) IsSetBaseResp() bool
- func (p *UpdateNoteResponse) IsValid() error
- func (p *UpdateNoteResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UpdateNoteResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateNoteResponse) SetBaseResp(val *BaseResp)
- func (p *UpdateNoteResponse) String() string
- func (p *UpdateNoteResponse) Write(oprot thrift.TProtocol) (err error)
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) FastWriteNocopy ¶
func (p *BaseResp) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*BaseResp) Field1DeepEqual ¶
func (*BaseResp) Field2DeepEqual ¶
func (*BaseResp) Field3DeepEqual ¶
func (*BaseResp) GetServiceTime ¶
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMessage ¶
func (*BaseResp) SetServiceTime ¶
func (*BaseResp) SetStatusCode ¶
func (*BaseResp) SetStatusMessage ¶
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) 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
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
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) 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
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
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) 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) 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
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) 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) 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
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 (*Note) FastWriteNocopy ¶
func (p *Note) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Note) Field1DeepEqual ¶
func (*Note) Field2DeepEqual ¶
func (*Note) Field3DeepEqual ¶
func (*Note) Field4DeepEqual ¶
func (*Note) Field5DeepEqual ¶
func (*Note) Field6DeepEqual ¶
func (*Note) Field7DeepEqual ¶
func (*Note) GetContent ¶
func (*Note) GetCreateTime ¶
func (*Note) GetUserAvatar ¶
func (*Note) GetUsername ¶
func (*Note) SetContent ¶
func (*Note) SetCreateTime ¶
func (*Note) SetUserAvatar ¶
func (*Note) SetUsername ¶
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 NewNoteServiceClientFactory ¶
func NewNoteServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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 (p *NoteServiceCreateNoteArgs) DeepEqual(ano *NoteServiceCreateNoteArgs) bool
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 (p *NoteServiceCreateNoteArgs) GetReq() (v *CreateNoteRequest)
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 (p *NoteServiceCreateNoteArgs) SetReq(val *CreateNoteRequest)
func (*NoteServiceCreateNoteArgs) String ¶
func (p *NoteServiceCreateNoteArgs) String() string
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 (p *NoteServiceCreateNoteResult) DeepEqual(ano *NoteServiceCreateNoteResult) bool
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
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 (p *NoteServiceDeleteNoteArgs) DeepEqual(ano *NoteServiceDeleteNoteArgs) bool
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 (p *NoteServiceDeleteNoteArgs) GetReq() (v *DeleteNoteRequest)
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 (p *NoteServiceDeleteNoteArgs) SetReq(val *DeleteNoteRequest)
func (*NoteServiceDeleteNoteArgs) String ¶
func (p *NoteServiceDeleteNoteArgs) String() string
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 (p *NoteServiceDeleteNoteResult) DeepEqual(ano *NoteServiceDeleteNoteResult) bool
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
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 (p *NoteServiceMGetNoteArgs) DeepEqual(ano *NoteServiceMGetNoteArgs) bool
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
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 (p *NoteServiceMGetNoteResult) DeepEqual(ano *NoteServiceMGetNoteResult) bool
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
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 (p *NoteServiceQueryNoteArgs) DeepEqual(ano *NoteServiceQueryNoteArgs) bool
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 (p *NoteServiceQueryNoteArgs) SetReq(val *QueryNoteRequest)
func (*NoteServiceQueryNoteArgs) String ¶
func (p *NoteServiceQueryNoteArgs) String() string
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 (p *NoteServiceQueryNoteResult) DeepEqual(ano *NoteServiceQueryNoteResult) bool
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
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 (p *NoteServiceUpdateNoteArgs) DeepEqual(ano *NoteServiceUpdateNoteArgs) bool
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 (p *NoteServiceUpdateNoteArgs) GetReq() (v *UpdateNoteRequest)
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 (p *NoteServiceUpdateNoteArgs) SetReq(val *UpdateNoteRequest)
func (*NoteServiceUpdateNoteArgs) String ¶
func (p *NoteServiceUpdateNoteArgs) String() string
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 (p *NoteServiceUpdateNoteResult) DeepEqual(ano *NoteServiceUpdateNoteResult) bool
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
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) 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) 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
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) 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
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) 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
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
Click to show internal directories.
Click to hide internal directories.