Skip to content

Proxy improvements #1 #10

@feed3r

Description

@feed3r

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions