Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Server Server Storage Storage Redis Redis DecentralandApi DecentralandApi LogLevel string Metrics Metrics AllowedContentTypes []string Limits Limits Workdir string UploadRequestTTL int64 RPCConnection RPCConnection }
Configuration holds global config parameters
func GetConfig ¶
func GetConfig(name string) *Configuration
GetConfig populates a Configuration struct from a config file
type DecentralandApi ¶
type DecentralandApi struct {
LandUrl string
}
type RPCConnection ¶
type RPCConnection struct {
URL string
}
type RemoteStorage ¶
type Storage ¶
type Storage struct { StorageType string RemoteConfig RemoteStorage LocalPath string }
type StorageType ¶
type StorageType string
const ( REMOTE StorageType = "REMOTE" LOCAL StorageType = "LOCAL" )
Click to show internal directories.
Click to hide internal directories.