Documentation ¶
Index ¶
- type EndOfBlock
- type Message
- func NewAddressMessage(model *storage.Address) *Message
- func NewBlockMessage(block *storage.Block) *Message
- func NewDeclareMessage(model *storage.Declare) *Message
- func NewDeployAccountMessage(model *storage.DeployAccount) *Message
- func NewDeployMessage(model *storage.Deploy) *Message
- func NewEndMessage(block *storage.Block) *Message
- func NewEventMessage(model *storage.Event) *Message
- func NewFeeMessage(model *storage.Fee) *Message
- func NewInternalMessage(model *storage.Internal) *Message
- func NewInvokeMessage(model *storage.Invoke) *Message
- func NewL1HandlerMessage(model *storage.L1Handler) *Message
- func NewStarknetMessage(model *storage.Message) *Message
- func NewStorageDiffMessage(model *storage.StorageDiff) *Message
- func NewTokenBalanceMessage(model *storage.TokenBalance) *Message
- func NewTokenMessage(model *storage.Token) *Message
- func NewTransferMessage(model *storage.Transfer) *Message
- type Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Block *storage.Block Declare *storage.Declare Deploy *storage.Deploy DeployAccount *storage.DeployAccount Event *storage.Event Fee *storage.Fee Internal *storage.Internal Invoke *storage.Invoke L1Handler *storage.L1Handler Message *storage.Message StorageDiff *storage.StorageDiff TokenBalance *storage.TokenBalance Transfer *storage.Transfer Token *storage.Token Address *storage.Address EndOfBlock *EndOfBlock }
Message -
func NewAddressMessage ¶
NewAddressMessage -
func NewDeclareMessage ¶
NewDeclareMessage -
func NewDeployAccountMessage ¶
func NewDeployAccountMessage(model *storage.DeployAccount) *Message
NewDeployAccountMessage -
func NewInternalMessage ¶
NewInternalMessage -
func NewL1HandlerMessage ¶
NewL1HandlerMessage -
func NewStarknetMessage ¶
NewStarknetMessage -
func NewStorageDiffMessage ¶
func NewStorageDiffMessage(model *storage.StorageDiff) *Message
NewStorageDiffMessage -
func NewTokenBalanceMessage ¶
func NewTokenBalanceMessage(model *storage.TokenBalance) *Message
NewTokenBalanceMessage -
func NewTransferMessage ¶
NewTransferMessage -
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Subscription -
func NewSubscription ¶
func NewSubscription(ctx context.Context, db postgres.Storage, req *pb.SubscribeRequest) (*Subscription, error)
NewSubscription -
Click to show internal directories.
Click to hide internal directories.