Documentation
¶
Index ¶
- Variables
- func ContainSignPKG(cmd string) bool
- type Client
- func (c *Client) AddRequestHeader(header map[string]string)
- func (c *Client) AddSignServer(signServers ...string)
- func (c *Client) GetSignServer() []string
- func (c *Client) Release()
- func (c *Client) SetAppInfo(app *auth.AppInfo)
- func (c *Client) Sign(cmd string, seq uint32, data []byte) (*Response, error)
- type HexData
- type Provider
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrVersionMismatch = errors.New("sign version mismatch")
Functions ¶
func ContainSignPKG ¶ added in v0.1.4
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddRequestHeader ¶
func (*Client) AddSignServer ¶
func (*Client) GetSignServer ¶
func (*Client) SetAppInfo ¶ added in v0.1.3
type HexData ¶ added in v0.1.4
type HexData []byte
func (HexData) MarshalJSON ¶ added in v0.1.4
func (*HexData) UnmarshalJSON ¶ added in v0.1.4
Click to show internal directories.
Click to hide internal directories.