Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Logger *logger.Configuration Server *server.Configuration Image *ImageConfiguration Auth *AuthConfiguration Doc *DocConfiguration }
Configuration struct
type ImageCacheConfiguration ¶
type ImageCacheConfiguration struct { Provider string FS *filesystem.CacheConfiguration Memory *memory.CacheConfiguration }
ImageCacheConfiguration struct
type ImageConfiguration ¶
type ImageConfiguration struct { Source *ImageSourceConfiguration Cache *ImageCacheConfiguration Support *ImageSupportConfiguration }
ImageConfiguration struct
type ImageSourceConfiguration ¶
type ImageSourceConfiguration struct { MaxSize int64 `mapstructure:"max_size"` Provider string FS *filesystem.SourceConfiguration }
ImageSourceConfiguration struct
type ImageSupportConfiguration ¶
type ImageSupportConfiguration struct {
Extensions map[string]interface{}
}
ImageSupportConfiguration struct
func (ImageSupportConfiguration) IsExtSupported ¶
func (c ImageSupportConfiguration) IsExtSupported(ext string) bool
IsExtSupported return true if ext is supported
Click to show internal directories.
Click to hide internal directories.