acl

package
v0.0.0-...-f852ded Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL struct {
	CidrIP  string
	MinPort int
	MaxPort int
}

ACL represents allowed traffic to a machine.

type Slice

type Slice []ACL

Slice is an alias for []ACL to allow for joins

func (Slice) Get

func (slc Slice) Get(ii int) interface{}

Get returns the value contained at the given index

func (Slice) Len

func (slc Slice) Len() int

Len returns the number of items in the slice

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL