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.
rition/rition-probe/client/client.go

18 lines
339 B

package client
type Config struct {
CenterServer string `json:"centerServer,omitempty"`
HostName string `json:"hostName,omitempty"`
InstanceId string `json:"instanceId,omitempty"`
}
type Client struct {
config Config
}
func NetClient(config Config) *Client {
return &Client{
config: config,
}
}