Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Endpoints struct {
BaseAPI string `toml:"base_api"`
BaseFeeds string `toml:"base_feeds"`
BaseGRPC string `toml:"base_grpc"`
} `toml:"endpoints"`
// fields that are created based on existing fields
BaseApiURL *url.URL `toml:"-"`
BaseFeedsURL *url.URL `toml:"-"`
Profiles map[string]ProfileConfig `toml:"profiles"`
Path string `toml:"-"`
Profile string `toml:"-"`
}
func (Config) ApplyToClient ¶ added in v0.2.0
func (Config) GRPCEndpoint ¶ added in v1.5.0
type ProfileConfig ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.