Documentation ¶
Index ¶
- type PrivateUrlBuilder
- func (p *PrivateUrlBuilder) Build(method string, path string, request *model.GetRequest) string
- func (p *PrivateUrlBuilder) BuildWithTime(method string, path string, utcDate time.Time, request *model.GetRequest) string
- func (p *PrivateUrlBuilder) Init(accessKey string, secretKey string, host string) *PrivateUrlBuilder
- type PublicUrlBuilder
- type Signer
- type WebSocketV1RequestBuilder
- type WebSocketV2RequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateUrlBuilder ¶
type PrivateUrlBuilder struct {
// contains filtered or unexported fields
}
func (*PrivateUrlBuilder) Build ¶
func (p *PrivateUrlBuilder) Build(method string, path string, request *model.GetRequest) string
func (*PrivateUrlBuilder) BuildWithTime ¶
func (p *PrivateUrlBuilder) BuildWithTime(method string, path string, utcDate time.Time, request *model.GetRequest) string
func (*PrivateUrlBuilder) Init ¶
func (p *PrivateUrlBuilder) Init(accessKey string, secretKey string, host string) *PrivateUrlBuilder
type PublicUrlBuilder ¶
type PublicUrlBuilder struct {
// contains filtered or unexported fields
}
func (*PublicUrlBuilder) Build ¶
func (p *PublicUrlBuilder) Build(path string, request *model.GetRequest) string
func (*PublicUrlBuilder) Init ¶
func (p *PublicUrlBuilder) Init(host string) *PublicUrlBuilder
type WebSocketV1RequestBuilder ¶
type WebSocketV1RequestBuilder struct {
// contains filtered or unexported fields
}
func (*WebSocketV1RequestBuilder) Build ¶
func (p *WebSocketV1RequestBuilder) Build() (string, error)
func (*WebSocketV1RequestBuilder) Init ¶
func (p *WebSocketV1RequestBuilder) Init(accessKey string, secretKey string, host string, path string) *WebSocketV1RequestBuilder
type WebSocketV2RequestBuilder ¶
type WebSocketV2RequestBuilder struct {
// contains filtered or unexported fields
}
func (*WebSocketV2RequestBuilder) Build ¶
func (p *WebSocketV2RequestBuilder) Build() (string, error)
func (*WebSocketV2RequestBuilder) Init ¶
func (p *WebSocketV2RequestBuilder) Init(accessKey string, secretKey string, host string, path string) *WebSocketV2RequestBuilder
Click to show internal directories.
Click to hide internal directories.