Documentation
¶
Index ¶
- func CheckXattrTestValues(bucketName string) error
- func CreateCollection(bucketName, scopeName, collectionName string) error
- func DropCollection(bucketName, scopeName, collectionName string) error
- func RetryREST(b util.Backoff, retryCount int, callback RestCallbackFunc, args ...interface{}) *restResponse
- func RetrySettings(b util.Backoff, retryCount int, callback SettingsCallbackFunc, ...) *responseSchema
- type BasicAuth
- type DetailLog
- type DigestAuth
- type DigestRequest
- type FunctionScope
- type RestCallbackFunc
- type SettingsCallbackFunc
- type Verification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckXattrTestValues ¶
func CreateCollection ¶
func DropCollection ¶
func RetryREST ¶
func RetryREST(b util.Backoff, retryCount int, callback RestCallbackFunc, args ...interface{}) *restResponse
func RetrySettings ¶
func RetrySettings(b util.Backoff, retryCount int, callback SettingsCallbackFunc, args ...interface{}) *responseSchema
Types ¶
type BasicAuth ¶
func NewBasicAuth ¶
type DigestAuth ¶
type DigestAuth struct {
Method string
Realm string
Qop string
Nonce string
Opaque string
Password string
}
func (*DigestAuth) GetHeader ¶
func (d *DigestAuth) GetHeader() string
func (*DigestAuth) Validate ¶
func (d *DigestAuth) Validate(request *DigestRequest) bool
type DigestRequest ¶
type DigestRequest struct {
Username string
Realm string
Nonce string
Uri string
Cnonce string
Nc string
Qop string
Response string
Opaque string
}
func NewDigestRequest ¶
func NewDigestRequest(authorization string) *DigestRequest
type FunctionScope ¶
type RestCallbackFunc ¶
type RestCallbackFunc func(arg ...interface{}) (response *restResponse)
type SettingsCallbackFunc ¶
type SettingsCallbackFunc func(arg ...interface{}) (*responseSchema, error)
type Verification ¶
type Verification struct {
IsBodyConsistent bool `json:"is_body_consistent"`
IsCookieConsistent bool `json:"is_cookie_consistent"`
}
func (*Verification) HandleBinary ¶
func (v *Verification) HandleBinary(body []byte)
func (*Verification) HandleCookie ¶
func (v *Verification) HandleCookie(r *http.Request)
func (*Verification) HandleForm ¶
func (v *Verification) HandleForm(body []byte)
func (*Verification) HandleJSON ¶
func (v *Verification) HandleJSON(body []byte)
func (*Verification) HandleText ¶
func (v *Verification) HandleText(body []byte)
Click to show internal directories.
Click to hide internal directories.