client.go 309 B

1234567891011121314151617
  1. package liveBroadcast
  2. import "go-common/library/net/http/blademaster"
  3. //Client 客户端
  4. type Client struct {
  5. conf *blademaster.ClientConfig
  6. }
  7. func (c *Client) getConf() *blademaster.ClientConfig {
  8. return c.conf
  9. }
  10. //New 创建
  11. func New(c *blademaster.ClientConfig) *Client {
  12. return &Client{conf: c}
  13. }