model

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFileNode

type CreateFileNode struct {
	Path        string
	Name        string
	Description string
	IsFolder    bool
	MimeType    string
}

type FileNode

type FileNode struct {
	ID          ID
	Name        string
	Description string
	IsFolder    bool
	State       NodeState
	MimeType    string
	Children    []FileNode
	Size        int64
}

type ID added in v0.1.5

type ID = string

type NodeState

type NodeState = string
const (
	NodeStateUpload NodeState = "UPLOAD"
	NodeStateReady  NodeState = "READY"
)

type UpdateFileNode added in v0.1.5

type UpdateFileNode struct {
	Name        string
	Description string
}

Jump to

Keyboard shortcuts

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