mirror of
https://github.com/gowvp/gb28181.git
synced 2026-04-22 23:17:19 +08:00
23 lines
482 B
Go
Executable File
23 lines
482 B
Go
Executable File
// Code generated by godddx, DO AVOID EDIT.
|
|
package config
|
|
|
|
import "github.com/ixugo/goddd/pkg/orm"
|
|
|
|
// Ext domain model
|
|
type Ext struct {
|
|
SIP *SIPConfig `json:"sip,omitempty"`
|
|
}
|
|
|
|
// Scan implements orm.Scaner.
|
|
func (i *Ext) Scan(input interface{}) error {
|
|
return orm.JSONUnmarshal(input, i)
|
|
}
|
|
|
|
type SIPConfig struct {
|
|
Host string `json:"host"`
|
|
Port int `json:"port"`
|
|
ID string `json:"id"`
|
|
Domain string `json:"domain"`
|
|
Password string `json:"password"`
|
|
}
|