Documentation ¶
Index ¶
- func EnableDebugLogging(l *zap.Logger)
- func Init(configFile *string, parentContext context.Context) (*http.Server, func(), error)
- type AbiConfig
- type AbiDecoder
- type ActionTraceRows
- type Config
- type ConfigFile
- type DatabaseConfig
- type DatabaseConnect
- type DatabaseFilters
- type DatabaseMock
- type DatabaseMockRow
- type DatabaseMockRows
- 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
- type Event
- type EventDataSlice
- type EventMessage
- type Queue
- type RawEvent
- type RequestMessage
- type ResponseErrorMessage
- type ResponseMessage
- type Scraper
- type ScraperBroadcastMessage
- type ScraperResponseMessage
- type ScraperSubscribeMessage
- type ScraperUnsubscribeMessage
- type Session
- type SessionConfig
- type SessionManager
- type SharedDatabaseConfig
- type SqlQuery
- type UpgraderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableDebugLogging ¶
Types ¶
type AbiDecoder ¶
type AbiDecoder struct {
// contains filtered or unexported fields
}
type ActionTraceRows ¶
type ActionTraceRows struct {
// contains filtered or unexported fields
}
type ConfigFile ¶
type ConfigFile struct { Database struct { Url string `yaml:"url"` Filter struct { Name string `yaml:"name"` Account string `yaml:"account"` } `yaml:"filter"` } `yaml:"database"` Server struct { Addr string `yaml:"addr"` } `yaml:"server"` Session struct { WriteWait string `yaml:"writeWait"` PongWait string `yaml:"pongWait"` MaxEventsInMessage int `yaml:"maxEventsInMessage"` } `yaml:"session"` Upgrader struct { ReadBufferSize int `yaml:"readBufferSize"` WriteBufferSize int `yaml:"writeBufferSize"` } `yaml:"upgrader"` Abi struct { Main string `yaml:"main"` Events map[int]string `yaml:"events"` } `yaml:"abi"` EventExpires string `yaml:"eventExpires"` Url string `yaml:"url"` } `yaml:"sharedDatabase"` }
type DatabaseConfig ¶
type DatabaseConfig struct {
// contains filtered or unexported fields
}
type DatabaseConnect ¶
type DatabaseFilters ¶
type DatabaseFilters struct {
// contains filtered or unexported fields
}
type DatabaseMock ¶
type DatabaseMock struct{}
type DatabaseMockRow ¶
type DatabaseMockRow struct{}
func (*DatabaseMockRow) Scan ¶
func (r *DatabaseMockRow) Scan(dest ...interface{}) error
type DatabaseMockRows ¶
type DatabaseMockRows struct{}
func (*DatabaseMockRows) Close ¶
func (r *DatabaseMockRows) Close()
func (*DatabaseMockRows) CommandTag ¶
func (r *DatabaseMockRows) CommandTag() pgconn.CommandTag
func (*DatabaseMockRows) Err ¶
func (r *DatabaseMockRows) Err() error
func (*DatabaseMockRows) FieldDescriptions ¶
func (r *DatabaseMockRows) FieldDescriptions() []pgproto3.FieldDescription
func (*DatabaseMockRows) Next ¶
func (r *DatabaseMockRows) Next() bool
func (*DatabaseMockRows) RawValues ¶
func (r *DatabaseMockRows) RawValues() [][]byte
func (*DatabaseMockRows) Scan ¶
func (r *DatabaseMockRows) Scan(dest ...interface{}) error
func (*DatabaseMockRows) Values ¶
func (r *DatabaseMockRows) Values() ([]interface{}, error)
type EventDataSlice ¶
type EventDataSlice []byte
func (*EventDataSlice) MarshalJSON ¶
func (m *EventDataSlice) MarshalJSON() ([]byte, error)
func (*EventDataSlice) UnmarshalJSON ¶
func (m *EventDataSlice) UnmarshalJSON(data []byte) error
type EventMessage ¶
type RawEvent ¶
type RawEvent struct { Offset uint64 `json:"offset"` Sender string `json:"sender"` CasinoID interface{} `json:"casino_id"` GameID interface{} `json:"game_id"` RequestID interface{} `json:"req_id"` EventType int `json:"event_type"` Data EventDataSlice `json:"data"` }
type RequestMessage ¶
type RequestMessage struct { ID *string `json:"id"` Method *string `json:"method"` Params json.RawMessage `json:"params"` }
type ResponseErrorMessage ¶
type ResponseMessage ¶
type ResponseMessage struct { ID *string `json:"id"` Result json.RawMessage `json:"result"` Error *ResponseErrorMessage `json:"error"` }
type ScraperBroadcastMessage ¶
type ScraperBroadcastMessage struct {
// contains filtered or unexported fields
}
type ScraperResponseMessage ¶
type ScraperResponseMessage struct {
// contains filtered or unexported fields
}
type ScraperSubscribeMessage ¶
type ScraperSubscribeMessage struct {
// contains filtered or unexported fields
}
type ScraperUnsubscribeMessage ¶
type ScraperUnsubscribeMessage struct {
// contains filtered or unexported fields
}
type SessionConfig ¶
type SessionConfig struct {
// contains filtered or unexported fields
}
type SessionManager ¶
type SessionManager struct {
// contains filtered or unexported fields
}
type SharedDatabaseConfig ¶
type SharedDatabaseConfig struct {
// contains filtered or unexported fields
}
type UpgraderConfig ¶
type UpgraderConfig struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.