goadb/client_config.go

17 lines
223 B
Go
Raw Normal View History

2015-07-11 21:32:04 +00:00
package goadb
var (
defaultDialer Dialer = NewDialer("", 0)
)
type ClientConfig struct {
Dialer Dialer
}
func (c ClientConfig) sanitized() ClientConfig {
if c.Dialer == nil {
c.Dialer = defaultDialer
}
return c
}