Versions in this module Expand all Collapse all v1 v1.1.0 Sep 24, 2023 Changes in this version + const BLOB_SEGMENT_SIZE + const BUFFER_LEN + const CNCT_client_crypt + const CNCT_group + const CNCT_host + const CNCT_login + const CNCT_passwd + const CNCT_plugin_list + const CNCT_plugin_name + const CNCT_specific_data + const CNCT_user + const CNCT_user_verification + const DEBUG_PRIVATE_KEY + const DEBUG_SRP + const EPB_version1 + const ISC_TIME_SECONDS_PRECISION + const ISOLATION_LEVEL_READ_COMMITED + const ISOLATION_LEVEL_READ_COMMITED_LEGACY + const ISOLATION_LEVEL_READ_COMMITED_RO + const ISOLATION_LEVEL_REPEATABLE_READ + const ISOLATION_LEVEL_SERIALIZABLE + const MAX_CHAR_LENGTH + const PLUGIN_LIST + const PROTOCOL_VERSION13 + const PROTOCOL_VERSION16 + const SQL_TYPE_ARRAY + const SQL_TYPE_BLOB + const SQL_TYPE_BOOLEAN + const SQL_TYPE_DATE + const SQL_TYPE_DEC128 + const SQL_TYPE_DEC64 + const SQL_TYPE_DEC_FIXED + const SQL_TYPE_DOUBLE + const SQL_TYPE_D_FLOAT + const SQL_TYPE_FLOAT + const SQL_TYPE_INT128 + const SQL_TYPE_INT64 + const SQL_TYPE_LONG + const SQL_TYPE_NULL + const SQL_TYPE_QUAD + const SQL_TYPE_SHORT + const SQL_TYPE_TEXT + const SQL_TYPE_TIME + const SQL_TYPE_TIMESTAMP + const SQL_TYPE_TIMESTAMP_TZ + const SQL_TYPE_TIME_TZ + const SQL_TYPE_VARYING + const SRP_KEY_SIZE + const SRP_SALT_SIZE + var ErrAlreadySubscribe = errors.New("already subscribe") + var ErrDsnUserUnknown = errors.New("User unknown") + var ErrEventAlreadyRunning = errors.New("events are already running") + var ErrEventBufferLarge = errors.New("whole events buffer is bigger than 65535") + var ErrEventNeed = errors.New("at least one event is needed") + var ErrFbEventClosed = errors.New("fbevent already closed") + var ErrOpSqlResponse = errors.New("Error op_sql_response") + var ErrWrongLengthEvent = errors.New("length name events are longer than 255") + func NewErrOpResonse(opRCode int32) error + type ErrOpResponse struct + func (e *ErrOpResponse) Error() string + type Event struct + Count int + ID int32 + Name string + RemoteID int32 + type EventHandler func(e Event) + type FbEvent struct + func NewFBEvent(dsns string) (*FbEvent, error) + func (e *FbEvent) Close() error + func (e *FbEvent) Count() int + func (e *FbEvent) IsClosed() bool + func (e *FbEvent) PostEvent(name string) error + func (e *FbEvent) Subscribe(events []string, cb EventHandler) (*Subscription, error) + func (e *FbEvent) SubscribeChan(events []string, chEvent chan Event) (*Subscription, error) + func (e *FbEvent) Subscribers() []*Subscription + type Subscription struct + func (s *Subscription) Close() error + func (s *Subscription) IsClose() bool + func (s *Subscription) NotifyClose(receiver chan error) + func (s *Subscription) Unsubscribe() error