Versions in this module Expand all Collapse all v0 v0.2.0 Nov 24, 2026 v0.1.0 Nov 24, 2026 Changes in this version + func Decode[T any](res *http.Response, err error) (T, error) + type Answer struct + Messages []Message + Page *PageInfo + Result T + func Read[T any](res *http.Response, err error) (Answer[T], error) + type Client struct + Auth auth.ClientInterface + Billing billing.ClientInterface + OTP otp.ClientInterface + func New(uid string, opts ...Option) (*Client, error) + type Error struct + Errors []Message + RetryAfter time.Duration + Status int + func (e *Error) Error() string + func (e *Error) Has(code int) bool + type Message struct + Code int + Message string + type Option func(*options) + func WithHTTPClient(hc *http.Client) Option + func WithKey(key string) Option + func WithServerSecret(secret string) Option + func WithZone(zone string) Option + type PageInfo struct + Count int + Page int + PerPage int + TotalCount int + TotalPages int