Versions in this module Expand all Collapse all v1 v1.1.0 Aug 12, 2020 Changes in this version + func EnableDebugLogging(l *zap.Logger) + func Init(configFile *string, parentContext context.Context) (*http.Server, func(), error) + type AbiConfig struct + type AbiDecoder struct + func (a *AbiDecoder) Decode(data []byte) (*Event, error) + type ActionTraceRows struct + type Config struct + type ConfigFile struct + Abi struct{ ... } + Database struct{ ... } + EventExpires string + Server struct{ ... } + Session struct{ ... } + SharedDatabase struct{ ... } + Upgrader struct{ ... } + type DatabaseConfig struct + type DatabaseConnect interface + Query func(ctx context.Context, sql string, optionsAndArgs ...interface{}) (pgx.Rows, error) + QueryRow func(ctx context.Context, sql string, args ...interface{}) pgx.Row + type DatabaseFilters struct + type DatabaseMock struct + func (m *DatabaseMock) Query(ctx context.Context, sql string, optionsAndArgs ...interface{}) (pgx.Rows, error) + func (m *DatabaseMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row + type DatabaseMockRow struct + func (r *DatabaseMockRow) Scan(dest ...interface{}) error + type DatabaseMockRows struct + func (r *DatabaseMockRows) Close() + func (r *DatabaseMockRows) CommandTag() pgconn.CommandTag + func (r *DatabaseMockRows) Err() error + func (r *DatabaseMockRows) FieldDescriptions() []pgproto3.FieldDescription + func (r *DatabaseMockRows) Next() bool + func (r *DatabaseMockRows) RawValues() [][]byte + func (r *DatabaseMockRows) Scan(dest ...interface{}) error + func (r *DatabaseMockRows) Values() ([]interface{}, error) + type Decoder struct + type Event struct + CasinoID uint64 + Data json.RawMessage + EventType int + GameID uint64 + Offset uint64 + RequestID uint64 + Sender string + type EventDataSlice []byte + func (m *EventDataSlice) MarshalJSON() ([]byte, error) + func (m *EventDataSlice) UnmarshalJSON(data []byte) error + type EventMessage struct + Events []*Event + Offset uint64 + type Queue struct + type RawEvent struct + CasinoID interface{} + Data EventDataSlice + EventType int + GameID interface{} + Offset uint64 + RequestID interface{} + Sender string + func (src *RawEvent) ToEvent(data json.RawMessage) (*Event, error) + type RequestMessage struct + ID *string + Method *string + Params json.RawMessage + type ResponseErrorMessage struct + Code int + Message string + type ResponseMessage struct + Error *ResponseErrorMessage + ID *string + Result json.RawMessage + type Scraper struct + type ScraperBroadcastMessage struct + type ScraperResponseMessage struct + type ScraperSubscribeMessage struct + type ScraperUnsubscribeMessage struct + type Session struct + ID string + func (s *Session) Offset() uint64 + type SessionConfig struct + type SessionManager struct + type SharedDatabaseConfig struct + type SqlQuery struct + type UpgraderConfig struct