You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
212 B
16 lines
212 B
6 months ago
|
package client
|
||
|
|
||
|
type Config struct {
|
||
|
CenterServer string `json:"centerServer,omitempty"`
|
||
|
}
|
||
|
|
||
|
type Client struct {
|
||
|
config Config
|
||
|
}
|
||
|
|
||
|
func NetClient(config Config) *Client {
|
||
|
return &Client{
|
||
|
config: config,
|
||
|
}
|
||
|
}
|