Generated from Manticore v1.1.5 • 201 packages. View on pkg.go.dev

transport

import "github.com/TheManticoreProject/Manticore/network/cifs/transport"

Index

type Transport

type Transport interface {
    Connect(ipaddr net.IP, port int) error

    Close() error

    Send(data []byte) (int, error)

    Receive() ([]byte, error)

    IsConnected() bool
}

func NewTransport

func NewTransport(transportType string) Transport