Documentation ¶ Index ¶ type Data type Handler func New(client *httpClient.Handler, storage *storage.Handler[Data]) *Handler func (h *Handler) RetrieveAllFromURL(regionURL string) ([]Data, error) func (h *Handler) RetrieveFromFile() (Data, error) func (h *Handler) RetrieveFromURL(regionURL, region string) (Data, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Data ¶ type Data struct { Name string `json:"name"` IsDefault bool `json:"isDefault"` RestApiAddress string `json:"restApiAddress"` GrpcApiAddress string `json:"grpcApiAddress"` VpnApiAddress string `json:"vpnApiAddress"` CaCertificateUrl string `json:"caCertificateUrl"` } type Handler ¶ type Handler struct { // contains filtered or unexported fields } func New ¶ func New(client *httpClient.Handler, storage *storage.Handler[Data]) *Handler func (*Handler) RetrieveAllFromURL ¶ func (h *Handler) RetrieveAllFromURL(regionURL string) ([]Data, error) func (*Handler) RetrieveFromFile ¶ func (h *Handler) RetrieveFromFile() (Data, error) func (*Handler) RetrieveFromURL ¶ func (h *Handler) RetrieveFromURL(regionURL, region string) (Data, error) Source Files ¶ View all Source files config.goregion.go Click to show internal directories. Click to hide internal directories.