github.com/Bytom/bytom@v1.1.2-0.20210127130405-ae40204c0b09/blockchain/pseudohsm/watch_fallback.go (about)

     1  // +build ios linux,arm64 !darwin,!freebsd,!linux,!netbsd,!solaris,!windows
     2  
     3  // This is the fallback implementation of directory watching.
     4  // It is used on unsupported platforms.
     5  
     6  package pseudohsm
     7  
     8  type watcher struct{ running bool }
     9  
    10  func newWatcher(*keyCache) *watcher { return new(watcher) }
    11  func (*watcher) start()             {}
    12  func (*watcher) close()             {}