github.com/MetalBlockchain/metalgo@v1.11.9/utils/dynamicip/no_updater.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package dynamicip 5 6 import "github.com/MetalBlockchain/metalgo/utils/logging" 7 8 var _ Updater = noUpdater{} 9 10 func NewNoUpdater() Updater { 11 return noUpdater{} 12 } 13 14 type noUpdater struct{} 15 16 func (noUpdater) Dispatch(logging.Logger) {} 17 18 func (noUpdater) Stop() {}