Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions broadcast/processor/dto.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package processor

import (
"context"
"google.golang.org/protobuf/reflect/protoreflect"
)

type RequestDto struct {
BroadcastID uint64
IsServer bool
OriginAddr string
OriginMethod string
OriginPubKey string
OriginSignature []byte
OriginDigest []byte
ViewNumber uint64
SenderAddr string
CurrentMethod string
SendFn func(resp protoreflect.ProtoMessage, err error) error
Ctx context.Context
CancelCtx context.CancelFunc
Run func(EnqueueMsg)
}
Loading
Loading