models

package
v0.0.0-...-e462338 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocatedFile

type AllocatedFile struct {
	Owner  string
	Name   string
	Mime   string
	Access []string
	Uses   int
}

func (*AllocatedFile) HasAccess

func (f *AllocatedFile) HasAccess(user string) bool

type NewPrivateFileV1

type NewPrivateFileV1 struct {
	Name   string
	Mime   string
	Access []string
}

Schema: newPrivateFile.v1

func (*NewPrivateFileV1) Deserialize

func (m *NewPrivateFileV1) Deserialize(data io.Reader) error

type NewPublicFileV1

type NewPublicFileV1 struct {
	Name string
	Mime string
}

Schema: newPublicFile.v1

func (*NewPublicFileV1) Deserialize

func (m *NewPublicFileV1) Deserialize(data io.Reader) error

Jump to

Keyboard shortcuts

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