mods3

package
v0.0.0-...-4d5b1ca Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creds

type Creds struct {
	Hostname  string `json:"hostname"` // optional
	AccessKey string `json:"access_key"`
	SecretKey string `json:"secret_key"`
	Region    string `json:"region"`
}

type PutOpts

type PutOpts struct {
	Metadata         map[string]string `json:"metadata"`
	Tags             map[string]string `json:"tags"`
	ContentType      string            `json:"content_type"`
	Encoding         string            `json:"encoding"`
	Disposition      string            `json:"disposition"`
	Language         string            `json:"language"`
	CacheControl     string            `json:"cache_control"`
	RedirectLocation string            `json:"redirect_location"`
	RetainUntil      time.Time         `json:"retain_until"`
}

type Result

type Result struct {
	Content     string
	ETag        string              `json:"etag"`
	ContentType string              `json:"content_type"` // A standard MIME type describing the format of the object data.
	Header      map[string][]string `json:"header"`
	Metadata    map[string]string   `json:"metadata"`
	Tags        map[string]string   `json:"tags"`
	Version     string              `json:"version"`
}

Jump to

Keyboard shortcuts

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