Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, cfg Config) (compassv1beta1.CompassServiceClient, func(), error)
Types ¶
type Config ¶
type Config struct {
Host string `mapstructure:"host" default:"localhost:8081"`
ServerHeaderKeyEmail string `yaml:"serverheaderkey_email" mapstructure:"serverheaderkey_email" default:"Compass-User-Email"`
ServerHeaderValueEmail string `yaml:"serverheadervalue_email" mapstructure:"serverheadervalue_email" default:"compass@gotocompany.com"`
}
Click to show internal directories.
Click to hide internal directories.