actions

package
v0.0.0-...-df570b3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFile

type CreateFile struct {
	FileName string `json:"file_name"`
	Dir      string `json:"dir"`
	RootDir  string `json:"root_dir"`
	Mode     int    `json:"mode"`
}

CreateFile defines a struct for containing details of file created operation.

type CreateUser

type CreateUser struct {
	Username        string `json:"username"`
	Email           string `json:"email"`
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirm_password"`
}

CreateUser defines a type for user creation details.

type MkDirectory

type MkDirectory struct {
	Dir     string `json:"dir"`
	RootDir string `json:"root_dir"`
	Mode    int    `json:"mode"`
}

MkDirectory defines a struct for containing details of dir created operation.

type WriteToFile

type WriteToFile struct {
	File string `json:"file"`
	Data []byte `json:"data"`
}

WriteToFile defines action for written data to a giving file.

Jump to

Keyboard shortcuts

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