client.go 271 B

123456789101112131415
  1. package skyhorse
  2. import "go-common/library/net/http/blademaster"
  3. type Client struct {
  4. conf *blademaster.ClientConfig
  5. }
  6. func (c *Client) getConf() *blademaster.ClientConfig {
  7. return c.conf
  8. }
  9. func New(c *blademaster.ClientConfig) *Client {
  10. return &Client{conf: c}
  11. }