16 lines
303 B
Go
16 lines
303 B
Go
package processor
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/wormhole-foundation/wormhole-explorer/parser/parser"
|
|
)
|
|
|
|
type Params struct {
|
|
TrackID string
|
|
Vaa []byte
|
|
}
|
|
|
|
// ProcessorFunc is a function to process vaa message.
|
|
type ProcessorFunc func(context.Context, *Params) (*parser.ParsedVaaUpdate, error)
|