workingdir

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUsernameSecure

func IsUsernameSecure(user string) bool

Types

type Workingdir

type Workingdir struct {
	Path        string
	NoCheckPerm bool
	Strict      bool
}

func (*Workingdir) CreateUpstream

func (w *Workingdir) CreateUpstream() (*libplugin.Upstream, error)

func (*Workingdir) Mapkey

func (w *Workingdir) Mapkey(pub []byte) ([]byte, error)

func (*Workingdir) Readfile

func (w *Workingdir) Readfile(file string) ([]byte, error)

func (*Workingdir) VerifyHostKey

func (w *Workingdir) VerifyHostKey(hostname, netaddr string, key []byte) error

Jump to

Keyboard shortcuts

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