v1

package
v0.0.0-...-36d8597 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 New

func New() (*Session, error)

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetCurrentDatabase

func (x *Session) GetCurrentDatabase() string

func (*Session) GetExec

func (x *Session) GetExec() bool

func (*Session) GetHistory

func (x *Session) GetHistory() []string

func (*Session) GetRaw

func (x *Session) GetRaw() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

Jump to

Keyboard shortcuts

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