files

package
v0.0.0-...-e7bb422 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugin = plugins.Plugin{
	Inject: NewController,
}

Functions

This section is empty.

Types

type AddStorageGroupModel

type AddStorageGroupModel struct {
	Name string  `json:"name"`
	IDs  []int64 `json:"ids"`
}

type Controller

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

func (*Controller) AddStorageGroup

func (v *Controller) AddStorageGroup(c web.Context)

func (*Controller) AddUserGroup

func (v *Controller) AddUserGroup(c web.Context)

func (*Controller) CreateGroup

func (v *Controller) CreateGroup(c web.Context)

func (*Controller) CreateStorage

func (v *Controller) CreateStorage(c web.Context)

func (*Controller) CreateUser

func (v *Controller) CreateUser(c web.Context)

func (*Controller) Down

func (v *Controller) Down() error

func (*Controller) DownloadFile

func (v *Controller) DownloadFile(c web.Context)

func (*Controller) ListGroup

func (v *Controller) ListGroup(c web.Context)

func (*Controller) SearchByProps

func (v *Controller) SearchByProps(c web.Context)

func (*Controller) Up

func (v *Controller) Up() error

func (*Controller) UploadFile

func (v *Controller) UploadFile(c web.Context)

type ListGroupModel

type ListGroupModel struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

func (ListGroupModel) MarshalEasyJSON

func (v ListGroupModel) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ListGroupModel) MarshalJSON

func (v ListGroupModel) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ListGroupModel) UnmarshalEasyJSON

func (v *ListGroupModel) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ListGroupModel) UnmarshalJSON

func (v *ListGroupModel) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ListGroupsModel

type ListGroupsModel []ListGroupModel

func (ListGroupsModel) MarshalEasyJSON

func (v ListGroupsModel) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ListGroupsModel) MarshalJSON

func (v ListGroupsModel) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ListGroupsModel) UnmarshalEasyJSON

func (v *ListGroupsModel) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ListGroupsModel) UnmarshalJSON

func (v *ListGroupsModel) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type NewGroupModel

type NewGroupModel struct {
	Name string `json:"name"`
}

func (NewGroupModel) MarshalEasyJSON

func (v NewGroupModel) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (NewGroupModel) MarshalJSON

func (v NewGroupModel) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*NewGroupModel) UnmarshalEasyJSON

func (v *NewGroupModel) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*NewGroupModel) UnmarshalJSON

func (v *NewGroupModel) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type NewStorageModel

type NewStorageModel struct {
	Name     string `json:"name"`
	Code     string `json:"code"`
	Lifetime int64  `json:"lifetime"`
}

type NewUserModel

type NewUserModel struct {
	Login  string `json:"login"`
	Passwd string `json:"passwd"`
}

func (NewUserModel) MarshalEasyJSON

func (v NewUserModel) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (NewUserModel) MarshalJSON

func (v NewUserModel) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*NewUserModel) UnmarshalEasyJSON

func (v *NewUserModel) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*NewUserModel) UnmarshalJSON

func (v *NewUserModel) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type UserAddGroupModel

type UserAddGroupModel struct {
	Login string  `json:"login"`
	IDs   []int64 `json:"ids"`
}

func (UserAddGroupModel) MarshalEasyJSON

func (v UserAddGroupModel) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (UserAddGroupModel) MarshalJSON

func (v UserAddGroupModel) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*UserAddGroupModel) UnmarshalEasyJSON

func (v *UserAddGroupModel) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*UserAddGroupModel) UnmarshalJSON

func (v *UserAddGroupModel) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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