Versions in this module Expand all Collapse all v0 v0.1.8 Feb 9, 2026 v0.1.8-rc3 Feb 9, 2026 v0.1.8-rc2 Feb 9, 2026 v0.1.8-rc1 Feb 9, 2026 v0.1.7 Jan 21, 2026 Changes in this version + const HubAPIEndpointDomain + const HubAPIEndpointScheme + func IsHubAPIError(err error) bool + type HubAPI interface + Login func(ctx context.Context, token string) (*HubAPIBaseResponse[HubAPILoginResponse], error) + type HubAPIBaseResponse struct + Code int64 + Data *T + Message string + RequestID string + Success bool + type HubAPIClient struct + func NewHubAPIClient() *HubAPIClient + func (c *HubAPIClient) Login(ctx context.Context, token string) (*HubAPIBaseResponse[HubAPILoginResponse], error) + type HubAPIError struct + func (e *HubAPIError) Error() string + type HubAPILoginResponse struct + AccessToken string + Email string + Username string + WorkNo string