Documentation ¶
Index ¶
- Variables
- type AddStorageGroupModel
- type Controller
- func (v *Controller) AddStorageGroup(c web.Context)
- func (v *Controller) AddUserGroup(c web.Context)
- func (v *Controller) CreateGroup(c web.Context)
- func (v *Controller) CreateStorage(c web.Context)
- func (v *Controller) CreateUser(c web.Context)
- func (v *Controller) Down() error
- func (v *Controller) DownloadFile(c web.Context)
- func (v *Controller) ListGroup(c web.Context)
- func (v *Controller) SearchByProps(c web.Context)
- func (v *Controller) Up() error
- func (v *Controller) UploadFile(c web.Context)
- type ListGroupModel
- type ListGroupsModel
- type NewGroupModel
- type NewStorageModel
- type NewUserModel
- type UserAddGroupModel
Constants ¶
This section is empty.
Variables ¶
var Plugin = plugins.Plugin{ Inject: NewController, }
Functions ¶
This section is empty.
Types ¶
type AddStorageGroupModel ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
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 ¶
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 NewUserModel ¶
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 ¶
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