File: types.go

package info (click to toggle)
golang-github-rootless-containers-bypass4netns 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: sh: 1,936; python: 542; makefile: 33
file content (10 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
package types

type Message struct {
	Interfaces []Interface `json:"interfaces"` // sorted by Name
}

type Interface struct {
	Name  string   `json:"name"`  // "lo", "eth0", etc.
	CIDRs []string `json:"cidrs"` // sorted as strings
}