Documentation ¶
Index ¶
- func Get(url string, result interface{}) error
- func GetAddressFromControlProgram(prog []byte) string
- func GetControlProgramFromAddress(address string) ([]byte, error)
- func NewMySQLDB(cfg MySQLConfig) (*gorm.DB, error)
- func Post(url string, payload []byte, result interface{}) error
- type MySQLConfig
- type MySQLConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMySQLDB ¶
func NewMySQLDB(cfg MySQLConfig) (*gorm.DB, error)
Types ¶
type MySQLConfig ¶
type MySQLConfig struct { Connection MySQLConnection `json:"connection"` LogMode bool `json:"log_mode"` }
Click to show internal directories.
Click to hide internal directories.