Documentation ¶
Index ¶
- Variables
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (m *CreateSessionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateSessionRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateSessionRequest) MarshalVT() (dAtA []byte, err error)
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (m *CreateSessionRequest) SizeVT() (n int)
- func (x *CreateSessionRequest) String() string
- func (m *CreateSessionRequest) UnmarshalVT(dAtA []byte) error
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetBranch() string
- func (x *CreateSessionResponse) GetSession() string
- func (x *CreateSessionResponse) GetUser() *User
- func (m *CreateSessionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *CreateSessionResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *CreateSessionResponse) MarshalVT() (dAtA []byte, err error)
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (m *CreateSessionResponse) SizeVT() (n int)
- func (x *CreateSessionResponse) String() string
- func (m *CreateSessionResponse) UnmarshalVT(dAtA []byte) error
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetQuery() string
- func (x *ExecuteRequest) GetSession() string
- func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error)
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (m *ExecuteRequest) SizeVT() (n int)
- func (x *ExecuteRequest) String() string
- func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error
- type ExecuteResponse
- func (*ExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteResponse) GetError() *vtrpc.RPCError
- func (x *ExecuteResponse) GetResult() *query.QueryResult
- func (x *ExecuteResponse) GetSession() string
- func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error)
- func (*ExecuteResponse) ProtoMessage()
- func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteResponse) Reset()
- func (m *ExecuteResponse) SizeVT() (n int)
- func (x *ExecuteResponse) String() string
- func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetPsid() string
- func (x *User) GetUsername() string
- func (m *User) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *User) MarshalToVT(dAtA []byte) (int, error)
- func (m *User) MarshalVT() (dAtA []byte, err error)
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (m *User) SizeVT() (n int)
- func (x *User) String() string
- func (m *User) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_psdb_v1alpha1_database_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateSessionRequest ¶
type CreateSessionRequest struct {
// contains filtered or unexported fields
}
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) MarshalToSizedBufferVT ¶
func (m *CreateSessionRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateSessionRequest) MarshalToVT ¶
func (m *CreateSessionRequest) MarshalToVT(dAtA []byte) (int, error)
func (*CreateSessionRequest) MarshalVT ¶
func (m *CreateSessionRequest) MarshalVT() (dAtA []byte, err error)
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) SizeVT ¶
func (m *CreateSessionRequest) SizeVT() (n int)
func (*CreateSessionRequest) String ¶
func (x *CreateSessionRequest) String() string
func (*CreateSessionRequest) UnmarshalVT ¶
func (m *CreateSessionRequest) UnmarshalVT(dAtA []byte) error
type CreateSessionResponse ¶
type CreateSessionResponse struct { Branch string `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` Session string `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"` // contains filtered or unexported fields }
func (*CreateSessionResponse) Descriptor
deprecated
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSessionResponse) GetBranch ¶
func (x *CreateSessionResponse) GetBranch() string
func (*CreateSessionResponse) GetSession ¶
func (x *CreateSessionResponse) GetSession() string
func (*CreateSessionResponse) GetUser ¶
func (x *CreateSessionResponse) GetUser() *User
func (*CreateSessionResponse) MarshalToSizedBufferVT ¶
func (m *CreateSessionResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*CreateSessionResponse) MarshalToVT ¶
func (m *CreateSessionResponse) MarshalToVT(dAtA []byte) (int, error)
func (*CreateSessionResponse) MarshalVT ¶
func (m *CreateSessionResponse) MarshalVT() (dAtA []byte, err error)
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) ProtoReflect ¶
func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSessionResponse) Reset ¶
func (x *CreateSessionResponse) Reset()
func (*CreateSessionResponse) SizeVT ¶
func (m *CreateSessionResponse) SizeVT() (n int)
func (*CreateSessionResponse) String ¶
func (x *CreateSessionResponse) String() string
func (*CreateSessionResponse) UnmarshalVT ¶
func (m *CreateSessionResponse) UnmarshalVT(dAtA []byte) error
type ExecuteRequest ¶
type ExecuteRequest struct { Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ExecuteRequest) Descriptor
deprecated
func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetQuery ¶
func (x *ExecuteRequest) GetQuery() string
func (*ExecuteRequest) GetSession ¶
func (x *ExecuteRequest) GetSession() string
func (*ExecuteRequest) MarshalToSizedBufferVT ¶
func (m *ExecuteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExecuteRequest) MarshalToVT ¶
func (m *ExecuteRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExecuteRequest) MarshalVT ¶
func (m *ExecuteRequest) MarshalVT() (dAtA []byte, err error)
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) SizeVT ¶
func (m *ExecuteRequest) SizeVT() (n int)
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
func (*ExecuteRequest) UnmarshalVT ¶
func (m *ExecuteRequest) UnmarshalVT(dAtA []byte) error
type ExecuteResponse ¶
type ExecuteResponse struct { Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` Result *query.QueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` Error *vtrpc.RPCError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*ExecuteResponse) Descriptor
deprecated
func (*ExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) GetError ¶
func (x *ExecuteResponse) GetError() *vtrpc.RPCError
func (*ExecuteResponse) GetResult ¶
func (x *ExecuteResponse) GetResult() *query.QueryResult
func (*ExecuteResponse) GetSession ¶
func (x *ExecuteResponse) GetSession() string
func (*ExecuteResponse) MarshalToSizedBufferVT ¶
func (m *ExecuteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExecuteResponse) MarshalToVT ¶
func (m *ExecuteResponse) MarshalToVT(dAtA []byte) (int, error)
func (*ExecuteResponse) MarshalVT ¶
func (m *ExecuteResponse) MarshalVT() (dAtA []byte, err error)
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) ProtoReflect ¶
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
func (*ExecuteResponse) Reset ¶
func (x *ExecuteResponse) Reset()
func (*ExecuteResponse) SizeVT ¶
func (m *ExecuteResponse) SizeVT() (n int)
func (*ExecuteResponse) String ¶
func (x *ExecuteResponse) String() string
func (*ExecuteResponse) UnmarshalVT ¶
func (m *ExecuteResponse) UnmarshalVT(dAtA []byte) error
type User ¶
type User struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Psid string `protobuf:"bytes,2,opt,name=psid,proto3" json:"psid,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetUsername ¶
func (*User) MarshalToSizedBufferVT ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalVT ¶
Click to show internal directories.
Click to hide internal directories.