Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileServer ¶
type FileServer interface {
GetFileURL(FileSizeLevel, string) (*url.URL, error)
}
func NewFileServer ¶
func NewFileServer(namespace string) FileServer
type FileSizeLevel ¶
type FileSizeLevel string
const ( FileSizeLevelNano FileSizeLevel = "nano" FileSizeLevelMicro FileSizeLevel = "micro" FileSizeLevelSmall FileSizeLevel = "small" FileSizeLevelMedium FileSizeLevel = "medium" FileSizeLevelLarge FileSizeLevel = "large" FileSizeLevelXLarge FileSizeLevel = "xlarge" FileSizeLevelXXLarge FileSizeLevel = "xxlarge" )
Click to show internal directories.
Click to hide internal directories.