tools

package
v0.1.3-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckFilledWithWhiteSpace = regexp.MustCompile("(?m)^\\s+$")

Functions

func FindInterfaceIpAndMac

func FindInterfaceIpAndMac(iFace string) (net.HardwareAddr, net.IP, error)

func RecoverFromChannelClosedWhenWriting

func RecoverFromChannelClosedWhenWriting()

Types

type SecuredFileSystem

type SecuredFileSystem struct {
}

func (*SecuredFileSystem) AbsolutePwd

func (s *SecuredFileSystem) AbsolutePwd() string

func (*SecuredFileSystem) ChangeDirectoryFullPath

func (s *SecuredFileSystem) ChangeDirectoryFullPath(_ string) *errors2.Error

func (*SecuredFileSystem) ChangeDirectoryRelative

func (s *SecuredFileSystem) ChangeDirectoryRelative(_ string) *errors2.Error

func (*SecuredFileSystem) ChangeDirectoryToFileLocation

func (s *SecuredFileSystem) ChangeDirectoryToFileLocation(_ string) *errors2.Error

func (*SecuredFileSystem) ExistsRelative

func (s *SecuredFileSystem) ExistsRelative(_ string) bool

func (*SecuredFileSystem) ListDirectory

func (s *SecuredFileSystem) ListDirectory() ([]string, error)

func (*SecuredFileSystem) OpenRelative

func (s *SecuredFileSystem) OpenRelative(_ string) (io.ReadSeekCloser, error)

func (*SecuredFileSystem) RelativePwd

func (s *SecuredFileSystem) RelativePwd() string

func (*SecuredFileSystem) ResetPath

func (s *SecuredFileSystem) ResetPath()

type ServerWSResponse

type ServerWSResponse struct {
	Type    string
	Payload interface{}
}

Jump to

Keyboard shortcuts

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