remote

package
v0.0.0-...-53791e0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package remote - controlling remote mechanisms interfaces

Index

Constants

View Source
const (
	INCOMING = iota
	OUTGOING = iota
)

INCOMING, OUTGOING - packet direction constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Connect

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

Connect - struct with remote mechanism interfaces creation and deletion methods

func NewConnect

func NewConnect() *Connect

NewConnect - creates instance of remote Connect

func (*Connect) CreateInterface

func (c *Connect) CreateInterface(ifaceName string, remoteConnection *connection.Connection, direction uint8) error

CreateInterface - creates interface to remote connection

func (*Connect) DeleteInterface

func (c *Connect) DeleteInterface(ifaceName string, remoteConnection *connection.Connection) error

DeleteInterface - deletes interface to remote connection

Jump to

Keyboard shortcuts

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