Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiConfig ¶
type ApiConfig struct {
Driver string
Address string
Port int
Username string
Password string
Database string
Tables string
Middlewares map[string]map[string]interface{}
Controllers string
CustomControllers string
CustomOpenApiBuilders string
CacheType string
CachePath string
CacheTime int32
Debug bool
BasePath string
OpenApiBase map[string]interface{}
}
func (*ApiConfig) GetControllers ¶
public function getMiddlewares(): array
{
return $this->values['middlewares'];
}
func (*ApiConfig) GetCustomControllers ¶
func (*ApiConfig) GetCustomOpenApiBuilders ¶
func (*ApiConfig) GetTables ¶
public function getDriver(): string
{
return $this->values['driver'];
}
public function getAddress(): string
{
return $this->values['address'];
}
public function getPort(): int
{
return $this->values['port'];
}
public function getUsername(): string
{
return $this->values['username'];
}
public function getPassword(): string
{
return $this->values['password'];
}
public function getDatabase(): string
{
return $this->values['database'];
}
Click to show internal directories.
Click to hide internal directories.