Versions in this module Expand all Collapse all v2 v2.0.3 Aug 29, 2023 v2.0.2 Aug 29, 2023 v2.0.1 Aug 29, 2023 Changes in this version + const DefaultAddress + type AcceptPacket struct + type AddressResolution struct + InstanceName string + TNSAddress string + type AdvNegoSeviceInfo struct + AuthService []string + EncServiceLevel int + IntServiceLevel int + type BindError struct + type ClientInfo struct + CharsetID int + Cid string + DomainName string + DriverName string + HostName string + Language string + PID int + Password string + ProgramName string + ProgramPath string + Territory string + UseKerberos bool + UserName string + type ConnectPacket struct + type ConnectionOption struct + Failover int + Lob int + PrefetchRows int + RetryTime int + Tracer trace.Tracer + func (op *ConnectionOption) AddServer(server ServerAddr) + func (op *ConnectionOption) ConnectionData() string + func (op *ConnectionOption) GetActiveServer(jump bool) *ServerAddr + func (op *ConnectionOption) ResetServerIndex() + func (op *ConnectionOption) UpdateDatabaseInfo(connStr string) error + type Data interface + Read func(session *Session) error + Write func(session *Session) error + type DataPacket struct + type DatabaseInfo struct + AuthType int + DBName string + InstanceName string + ProxyClientName string + SID string + Servers []ServerAddr + ServiceName string + UserID string + type DialerContext interface + DialContext func(ctx context.Context, network, address string) (net.Conn, error) + type MarkerPacket struct + type OracleError struct + ErrCode int + ErrMsg string + func (err *OracleError) Error() string + type Packet struct + type PacketInterface interface + type PacketType uint8 + const ABORT + const ACCEPT + const ACK + const ATTN + const CONNECT + const CTRL + const DATA + const HIGHEST + const MARKER + const NULL + const REDIRECT + const REFUSE + const RESEND + type RedirectPacket struct + type RefusePacket struct + Err OracleError + SystemReason uint8 + UserReason uint8 + type ServerAddr struct + Addr string + Port int + Protocol string + func (serv *ServerAddr) IsEqual(input *ServerAddr) bool + type Session struct + ClrChunkSize int + Context *SessionContext + HasEOSCapability bool + HasFSAPCapability bool + SSL struct{ ... } + StrConv converters.IStringConverter + Summary *SummaryObject + TTCVersion uint8 + TimeZone []byte + UseBigClrChunks bool + UseBigScn bool + func NewSession(connOption *ConnectionOption) *Session + func NewSessionWithInputBufferForDebug(input []byte) *Session + func (session *Session) BreakConnection() (PacketInterface, error) + func (session *Session) Connect(ctx context.Context) error + func (session *Session) Disconnect() + func (session *Session) EndContext() + func (session *Session) GetByte() (uint8, error) + func (session *Session) GetBytes(length int) ([]byte, error) + func (session *Session) GetClr() (output []byte, err error) + func (session *Session) GetDlc() (output []byte, err error) + func (session *Session) GetError() *OracleError + func (session *Session) GetInt(size int, compress bool, bigEndian bool) (int, error) + func (session *Session) GetInt64(size int, compress bool, bigEndian bool) (int64, error) + func (session *Session) GetKeyVal() (key []byte, val []byte, num int, err error) + func (session *Session) GetNullTermString(maxSize int) (result string, err error) + func (session *Session) GetString(length int) (string, error) + func (session *Session) HasError() bool + func (session *Session) IsBreak() bool + func (session *Session) LoadSSLData(certs, keys, certRequests [][]byte) error + func (session *Session) LoadState() (oldState *SessionState) + func (session *Session) PutBytes(data ...byte) + func (session *Session) PutClr(data []byte) + func (session *Session) PutInt(number interface{}, size uint8, bigEndian bool, compress bool) + func (session *Session) PutKeyVal(key []byte, val []byte, num uint8) + func (session *Session) PutKeyValString(key string, val string, num uint8) + func (session *Session) PutString(data string) + func (session *Session) PutUint(number interface{}, size uint8, bigEndian, compress bool) + func (session *Session) ResetBuffer() + func (session *Session) SaveState(newState *SessionState) + func (session *Session) StartContext(ctx context.Context) + func (session *Session) Write() error + func (session *Session) WriteBytes(buffer *bytes.Buffer, data ...byte) + func (session *Session) WriteClr(buffer *bytes.Buffer, data []byte) + func (session *Session) WriteInt(buffer *bytes.Buffer, number interface{}, size uint8, bigEndian, compress bool) + func (session *Session) WriteKeyVal(buffer *bytes.Buffer, key []byte, val []byte, num uint8) + func (session *Session) WriteKeyValString(buffer *bytes.Buffer, key string, val string, num uint8) + func (session *Session) WriteUint(buffer *bytes.Buffer, number interface{}, size uint8, bigEndian, compress bool) + type SessionContext struct + ACFL0 uint8 + ACFL1 uint8 + AdvancedService struct{ ... } + ConnOption *ConnectionOption + GotReset bool + Histone uint16 + IsNTConnected bool + LoVersion uint16 + NegotiatedOptions uint16 + OnBreakReset bool + Options uint16 + OurOne uint16 + ReconAddr string + SID []byte + SessionDataUnit uint32 + TransportDataUnit uint32 + UsingAsyncReceivers bool + Version uint16 + func NewSessionContext(connOption *ConnectionOption) *SessionContext + type SessionInfo struct + Dialer DialerContext + Protocol string + SSL bool + SSLVerify bool + SSLVersion string + SessionDataUnitSize uint32 + Timeout time.Duration + TransportDataUnitSize uint32 + UnixAddress string + type SessionState struct + InBuffer []byte + OutBuffer bytes.Buffer + type SummaryObject struct + CurRowNumber int + CursorID int + EndOfCallStatus int + EndToEndECIDSequence int + ErrorMessage []byte + Flags int + RetCode int + func NewSummary(session *Session) (*SummaryObject, error) + type WarningObject struct + func NewWarningObject(session *Session) (*WarningObject, error)