# Functions
NewDefaultAppConfig returns a default application side oracle configuration.
ReadConfigFromAppOpts reads the config parameters from the AppOptions and returns the config.
ReadOracleConfigFromFile reads a config from a file and returns the config.
# Constants
DefaultConfigTemplate should be utilized in the app.toml file.
DefaultEnableCompression is the default value for whether the client should attempt to negotiate per message compression (RFC 7692).
DefaultHandshakeTimeout is the default duration for the handshake to complete.
DefaultMaxBufferSize is the default maximum number of messages that the provider will buffer at any given time.
DefaultMaxReadErrorCount is the default maximum number of read errors that the provider will tolerate before closing the connection and attempting to reconnect.
DefaultMaxSubscriptionsPerBatch is the default maximum number of subscriptions that can be assigned to a single batch/write/message.
DefaultMaxSubscriptionsPerConnection is the default maximum subscriptions a provider can handle per-connection.
DefaultPingInterval is the default interval at which the provider should send ping messages to the server.
DefaultPostConnectionTimeout is the default timeout for the provider to wait after a connection is established before sending messages.
DefaultReadBufferSize is the default I/O read buffer size.
DefaultReadTimeout is the default read deadline on the underlying network connection.
DefaultReconnectionTimeout is the default timeout for the provider to attempt to reconnect to the websocket endpoint.
DefaultWriteBufferSize is the default I/O write buffer size.
DefaultWriteInterval is the default interval at which the provider should send write messages to the server.
DefaultWriteTimeout is the default write deadline on the underlying network connection.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
APIConfig defines a config for an API based data provider.
AppConfig contains the application side oracle configurations that must be set in the app.toml file.
Authentication holds all data necessary for an API provider to authenticate with an endpoint.
Endpoint holds all data necessary for an API provider to connect to a given endpoint i.e.
MetricsConfig is the metrics configurations for the oracle.
OracleConfig is the over-arching config for the oracle sidecar and instrumentation.
ProviderConfig defines a config for a provider.
No description provided by the author
WebSocketConfig defines a config for a websocket based data provider.