mcscp

package
v0.0.0-...-85acea7 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMCFSHandler

func NewMCFSHandler(stores *mc.Stores, mcfsRoot string) scp.Handler

Types

type SessionContext

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

SessionContext is the context for a scp session. It contains the user that started the session as well as the project (determined from the slug in the project path).

func NewSessionContext

func NewSessionContext(user *mcmodel.User) *SessionContext

NewSessionContext creates a new SessionContext. The user is a required parameter and cannot be nil.

Jump to

Keyboard shortcuts

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