Rough outline of Network introspection interface

This commit is contained in:
Milos Gajdos
2019-09-02 11:42:45 +01:00
parent 6c3631728b
commit bf53c16e4b
6 changed files with 255 additions and 38 deletions

View File

@@ -21,6 +21,8 @@ var (
// Network is micro network
type Network interface {
// Options returns the network options
Options() Options
// Name of the network
Name() string
// Address returns network bind address