common

package
v0.0.0-...-9a36f85 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ifconfiger

type Ifconfiger interface {
	Ifconfig() []*NetInfo
}

type IfconfigerPlugin

type IfconfigerPlugin struct {
	Impl Ifconfiger
}

func (*IfconfigerPlugin) Client

func (i *IfconfigerPlugin) Client(broker *plugin.MuxBroker, client *rpc.Client) (interface{}, error)

func (*IfconfigerPlugin) Server

func (i *IfconfigerPlugin) Server(broker *plugin.MuxBroker) (interface{}, error)

type IfconfigerRCPServer

type IfconfigerRCPServer struct {
	Impl Ifconfiger
}

func (*IfconfigerRCPServer) Ifconfig

func (i *IfconfigerRCPServer) Ifconfig(args interface{}, resp *[]*NetInfo) error

type IfconfigerRPC

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

func (*IfconfigerRPC) Ifconfig

func (i *IfconfigerRPC) Ifconfig() []*NetInfo

type NetInfo

type NetInfo struct {
	Name string
	Ip   string
	Mac  string
}

func (*NetInfo) String

func (i *NetInfo) String() string

Jump to

Keyboard shortcuts

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