port_reqiure

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPortsRequire

type IPortsRequire interface {
	Set(id string, ports []int)
	Del(id string)
	All() []int32
}

func NewPortsRequire

func NewPortsRequire() IPortsRequire

type PortsRequire

type PortsRequire struct {
	// contains filtered or unexported fields
}

func (*PortsRequire) All

func (p *PortsRequire) All() []int32

func (*PortsRequire) Del

func (p *PortsRequire) Del(id string)

func (*PortsRequire) Set

func (p *PortsRequire) Set(id string, ports []int)

Jump to

Keyboard shortcuts

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