import cloudeng.io/glean/crawlindex/internal
Functions
Func NewClient
func NewClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleanclientsdk.APIClient)
Func NewIndexingClient
func NewIndexingClient(ctx context.Context, domain string, token *apitokens.T) (context.Context, *gleansdk.APIClient)
Func ParseGleanError
func ParseGleanError(r *http.Response, err error) error
ParseGleanError parses the error returned by the glean API and returns a
more useful error message.