Giter VIP home page Giter VIP logo

netstate's Introduction

netstate builds.sr.ht status GoDoc Go Report Card

Package netstate provides notification of network interface state changes. MIT Licensed.

netstate's People

Contributors

mdlayher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

netstate's Issues

netstate: expose more filtering primitives

It would seem that basic message types are not sufficient to express all of the possible things one might want to watch for network state changes.

In addition to link events, you may also want to check:

  • addition of new IPs/routes
  • modification of some existing IP/route filtered by CIDR
  • fields within a rtnetlink message
  • state of a network neighbor

As such, it probably makes sense to turn Change into an interface which provides much more flexibility for filtering inputs. This could make it difficult to make the code cross-platform, but perhaps there are ways to keep it reasonably clean.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.