Documentation
¶
Index ¶
- Variables
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetCurrentDatabase() string
- func (x *Session) GetExec() bool
- func (x *Session) GetHistory() []string
- func (x *Session) GetRaw() string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_shortdb_domain_session_v1_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { // current database CurrentDatabase string `protobuf:"bytes,1,opt,name=current_database,json=currentDatabase,proto3" json:"current_database,omitempty"` // raw input Raw string `protobuf:"bytes,2,opt,name=raw,proto3" json:"raw,omitempty"` // flag for run command Exec bool `protobuf:"varint,3,opt,name=exec,proto3" json:"exec,omitempty"` // history query History []string `protobuf:"bytes,4,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
Session
func (*Session) Descriptor
deprecated
func (*Session) GetCurrentDatabase ¶
func (*Session) GetHistory ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.