-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
in brainclient/brainClient.go
func NewClient(brainAddr string, indicatorsEndpoint string, detailsEndpoint string) *Client {
return &Client{
brainAddress: brainAddr,
detailsEndpoint: brainAddr + detailsEndpoint,
maybe we can use an object like this to represent the address: https://pkg.go.dev/go.lsp.dev/uri
in this way the client is not costructed if something is wrong.. but at the same time i'm not 100% sure about this, since we will get an error when we will contact the cloud server for the first time
Metadata
Metadata
Assignees
Labels
No labels