package
1.10.0
Repository: https://github.com/itzmeanjan/ette.git
Documentation: pkg.go.dev

# Structs

ActiveSubscriptions - Keeps track of how many active websocket connections being maintained now by `ette`.
APIKey - Payload to be sent in POST request when either enabling or disabling state of API Key.
AuthPayload - Payload to be sent in post request body, when performing login.
AuthPayloadMessage - Message to be signed by user.
Block - Block related info to be delivered to client in this format.
BlockChainNodeConnection - Holds network connection object for blockchain nodes Use `RPC` i.e.
Blocks - A set of blocks to be held, extracted from DB query result also to be supplied to client in JSON encoded form.
Event - Single event entity holder, extracted from db.
Events - A collection of event holder, to be delivered to client in this form.
Job - For running a block fetching job, these are all the information which are required.
RedisInfo - Holds redis related information in this struct, to be used when passing to functions as argument.
ResultStatus - Keeps track of how many operations went successful and how many of them failed.
SendReceiveCounter - Keeps track of how many read & write ops were performed to & from socket during life time of one single websocket connection.
StatusHolder - Keeps track of progress being made by `ette` over time, which is to be delivered when `/v1/synced` is queried.
SyncState - Whether `ette` is synced with blockchain or not.
Transaction - Transaction holder struct, to be supplied when queried using tx hash.
Transactions - Multiple transactions holder struct.