schema

package
v0.0.0-...-30dbe51 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectCreateSchema

type ObjectCreateSchema struct {
	File *multipart.FileHeader `form:"file" binding:"required,file"`
}

ObjectCreateSchema is the object create schema.

type ObjectSchema

type ObjectSchema struct {
	Url          string    `json:"url"`           // file url
	ETag         string    `json:"etag"`          // ETag message
	LastModified time.Time `json:"last_modified"` // last modified time
	Location     string    `json:"location"`      // location
	VersionID    string    `json:"version_id"`    // version id
}

ObjectSchema is the object return schema.

Jump to

Keyboard shortcuts

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