Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultAccountNumber = "271828182845" DefaultRegion = "us-west-2" DefaultBasePort = 9050 DefaultDataPath = "data" DefaultDevConfigFile = "functions.yml" DefaultSqsEndpoint = "http://localhost:9324" DefaultNetworks = "rainbow" )
View Source
const ( DefaultDbFilename = "db.sqlite3" InMemoryDbFilename = ":memory:" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccountNumber string IsDebug bool IsLocal bool Region string Database *Database BasePort int DevConfigFile string Networks []string SqsEndpoint string // contains filtered or unexported fields }
func DefaultConfig ¶
func DefaultConfig() *Config
func FromContext ¶
func (*Config) ArnFragment ¶
func (*Config) CreateDatabase ¶
func (*Config) DbConnectionString ¶
type Database ¶
func DefaultDatabase ¶
func DefaultDatabase() *Database
func InMemoryDatabase ¶
func InMemoryDatabase() *Database
type NetworkValue ¶
type NetworkValue struct {
// contains filtered or unexported fields
}
func (*NetworkValue) Set ¶
func (v *NetworkValue) Set(s string) error
func (*NetworkValue) String ¶
func (v *NetworkValue) String() string
Click to show internal directories.
Click to hide internal directories.