Documentation ¶
Index ¶
- Constants
- func Address(val string) zapcore.Field
- func AddressURL(val url.URL) zapcore.Field
- func BindIP(val net.IP) zapcore.Field
- func BlockCacheMetrics(metrics *ristretto.Metrics) zapcore.Field
- func BlockNumber(val uint64) zap.Field
- func ConnectionID(val string) zap.Field
- func ConsensusTime(val time.Duration) zap.Field
- func Count(val int) zap.Field
- func CurrentSlot(network beacon.Network) zapcore.Field
- func Duration(val time.Time) zapcore.Field
- func DutyID(val string) zap.Field
- func ENR(val *enode.Node) zapcore.Field
- func ENRLocalNode(val *enode.LocalNode) zapcore.Field
- func ENRStr(val string) zapcore.Field
- func EventID(val fmt.Stringer) zapcore.Field
- func EventName(val string) zap.Field
- func FromBlock(val fmt.Stringer) zapcore.Field
- func Height(height specqbft.Height) zap.Field
- func IndexCacheMetrics(metrics *ristretto.Metrics) zapcore.Field
- func MessageID(val spectypes.MessageID) zap.Field
- func MessageType(val spectypes.MsgType) zap.Field
- func Name(val string) zap.Field
- func OperatorID(operatorId spectypes.OperatorID) zap.Field
- func OperatorIDStr(operatorId string) zap.Field
- func PeerID(val peer.ID) zapcore.Field
- func PrivKey(val []byte) zapcore.Field
- func PubKey(pubKey []byte) zapcore.Field
- func Role(val spectypes.BeaconRole) zap.Field
- func Round(round specqbft.Round) zap.Field
- func Slot(val phase0.Slot) zap.Field
- func StartTimeUnixMilli(network beacon.Network, slot spec.Slot) zapcore.Field
- func Subnets(val records.Subnets) zapcore.Field
- func SyncOffset(val fmt.Stringer) zapcore.Field
- func SyncResults(msgs protocolp2p.SyncResults) zapcore.Field
- func TargetNodeENR(val *enode.Node) zapcore.Field
- func Topic(val string) zap.Field
- func TxHash(val fmt.Stringer) zapcore.Field
- func UpdatedENRLocalNode(val *enode.LocalNode) zapcore.Field
- func Validator(pubKey []byte) zapcore.Field
- func ValidatorMetadata(val *beacon.ValidatorMetadata) zap.Field
Constants ¶
View Source
const ( FieldAddress = "address" FieldBindIP = "bind_ip" FieldBlock = "block" FieldBlockCacheMetrics = "block_cache_metrics_field" FieldConnectionID = "connection_id" FieldConsensusTime = "consensus_time" FieldCount = "count" FieldCurrentSlot = "current_slot" FieldDuration = "duration" FieldDutyID = "duty_id" FieldENR = "enr" FieldEvent = "event" FieldEventID = "event_id" FieldFromBlock = "from_block" FieldHeight = "height" FieldIndexCacheMetrics = "index_cache_metrics" FieldMessageID = "message_id" FieldMessageType = "message_type" FieldName = "name" FieldOperatorId = "operator_id" FieldPeerID = "peer_id" FieldPrivateKey = "privkey" FieldPubKey = "pubkey" FieldRole = "role" FieldRound = "round" FieldSlot = "slot" FieldStartTimeUnixMilli = "start_time_unix_milli" FieldSubnets = "subnets" FieldSyncOffset = "sync_offset" FieldSyncResults = "sync_results" FieldTargetNodeENR = "target_node_enr" FieldTopic = "topic" FieldTxHash = "tx_hash" FieldUpdatedENRLocalNode = "updated_enr" FieldValidator = "validator" FieldValidatorMetadata = "validator_metadata" )
Variables ¶
This section is empty.
Functions ¶
func BlockNumber ¶
func ConnectionID ¶
func OperatorID ¶
func OperatorID(operatorId spectypes.OperatorID) zap.Field
func OperatorIDStr ¶
func StartTimeUnixMilli ¶
func SyncResults ¶
func SyncResults(msgs protocolp2p.SyncResults) zapcore.Field
func ValidatorMetadata ¶
func ValidatorMetadata(val *beacon.ValidatorMetadata) zap.Field
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.