Versions in this module Expand all Collapse all v0 v0.25.6 Sep 15, 2021 Changes in this version + const Dedicated + const Pooled + const Shared + type Address struct + Host string + Port int + Protocol string + func (a *Address) Parse(ss []Statement) error + func (a Address) IsZero() bool + func (a Address) Print(w io.Writer, prefix, indent string) + type AddressList struct + Addresses []Address + Options ListOptions + func (al *AddressList) Parse(ss []Statement) error + func (al AddressList) IsZero() bool + func (al AddressList) Print(w io.Writer, prefix, indent string) + type BufSizes struct + RecvBufSize int + SendBufSize int + func (bs *BufSizes) Parse(ss []Statement) error + func (bs BufSizes) IsZero() bool + func (bs BufSizes) Print(w io.Writer, prefix, indent string) + type ConnectData struct + FailoverMode FailoverMode + GlobalName string + Hs bool + InstanceName string + RDBDatabase string + SID string + Server ServiceHandler + ServiceName string + func (cd *ConnectData) Parse(ss []Statement) error + func (cd ConnectData) IsZero() bool + func (cd ConnectData) Print(w io.Writer, prefix, indent string) + type Description struct + AddressList AddressList + Addresses []Address + Bufs BufSizes + ConnectData ConnectData + Options ListOptions + SDU int + Security Security + TCPKeepAlive bool + TypeOfService string + func (d *Description) Parse(ss []Statement) error + func (d Description) IsZero() bool + func (d Description) Print(w io.Writer, prefix, indent string) + type DescriptionList struct + Descriptions []Description + Options ListOptions + TypeOfService string + func (cd *DescriptionList) Parse(ss []Statement) error + func (cd DescriptionList) Print(w io.Writer, prefix, indent string) + type FailoverMode struct + Backup string + Delay int + Method string + Retry int + Type string + func (fo *FailoverMode) Parse(ss []Statement) error + func (fo FailoverMode) IsZero() bool + func (fo FailoverMode) Print(w io.Writer, prefix, indent string) + type ListOptions struct + Failover bool + LoadBalance bool + SourceRoute bool + func (lo *ListOptions) Parse(ss []Statement) error + func (lo ListOptions) IsZero() bool + func (lo ListOptions) Print(w io.Writer, prefix, indent string) + type Security struct + SSLServerCertDN string + func (sec *Security) Parse(ss []Statement) error + func (sec Security) IsZero() bool + func (sec Security) Print(w io.Writer, prefix, indent string) + type ServiceHandler string + type Statement struct + Name string + Statements []Statement + Value string + func ParseConnDescription(s string) (Statement, error) + func (cs *Statement) Parse(s string) (string, error) + func (cs Statement) Print(w io.Writer, prefix, indent string) + func (cs Statement) String() string