Documentation ¶
Index ¶
Constants ¶
View Source
const ( EndpointDefault = "http://120.48.16.137:8360" UserAgentDefault = "xasset-sdk-go" ConnectTimeoutMsDef = 1000 ReadWriteTimeoutMsDef = 3000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XassetCliConfig ¶
type XassetCliConfig struct { Endpoint string UserAgent string Credentials *auth.Credentials SignOption *auth.SignOptions ConnectTimeoutMs int ReadWriteTimeoutMs int }
func NewXassetCliConf ¶
func NewXassetCliConf() *XassetCliConfig
func (*XassetCliConfig) IsVaild ¶
func (t *XassetCliConfig) IsVaild() bool
func (*XassetCliConfig) SetCredentials ¶
func (t *XassetCliConfig) SetCredentials(appId int64, ak, sk string)
func (*XassetCliConfig) String ¶
func (t *XassetCliConfig) String() string
Click to show internal directories.
Click to hide internal directories.