Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthentication ¶
func NewAuthentication(config *json.RawMessage, r *echo.Echo, globalConfig *types.Configuration) (newAuth *types.Authentication, err error)
Should be called by authentication mechanism
Types ¶
type AccessPath ¶
type AccessPath struct { RealPath *string Access api.AccessType Error api.EnumCommandErrorCode IsDir bool Exists bool FileInfo os.FileInfo }
func GetAccessAndPath ¶
func GetAccessAndPath(config *types.Configuration, context *types.CommandContext, inPath string, asUser bool) (AccessPath, error)
Click to show internal directories.
Click to hide internal directories.