~bigbes/core-go

ref: 583d0b1bcb08fa0962f0b539f6c0dffcedf8c521 core-go/client d---------
583d0b1b — Simon Ser 2 years ago
client/graphql: handle GraphQL errors

Instead of leaving it up to the caller to check for GraphQL errors,
centralize in core-go.
f44afb10 — Simon Ser 4 years ago
go fmt
12996e4a — Simon Ser 5 years ago
client: add config option to override API origin

If the config file contains an "api-origin" key for a service, prefer it
instead of "origin". This allows users to directly point the Python
frontend to the Go backend for local development, without having to
setup a reverse proxy.

This is the Go port of [1].

While at it, use GetOrigin for symmetry with the Python code.

[1]: https://git.sr.ht/~sircmpwn/meta.sr.ht/commit/6c2ee03923fe65423a2c55e6648f555c08db827a
906acc05 — Drew DeVault 5 years ago
client: populate NodeID from service name
943e2834 — Drew DeVault 5 years ago
Drop leftover references to gql.sr.ht
b0ebfa5f — Drew DeVault 5 years ago
client: import from gql.sr.ht