Documentation ¶ Index ¶ type Impl func New(qbAddress string, sslTargetName string, audience string) (*Impl, error) func (e *Impl) Address() string func (e *Impl) SSLTargetName() string type QueryBrokerEnv Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Impl ¶ type Impl struct { *env.BaseEnv // contains filtered or unexported fields } Impl is an implementation of the ApiEnv interface func New ¶ func New(qbAddress string, sslTargetName string, audience string) (*Impl, error) New creates a new api env. func (*Impl) Address ¶ func (e *Impl) Address() string Address returns the address of the query broker. func (*Impl) SSLTargetName ¶ func (e *Impl) SSLTargetName() string SSLTargetName returns the SSL target hostname of the query broker. type QueryBrokerEnv ¶ type QueryBrokerEnv interface { // The address of the query broker Address() string // The SSL target hostname of the query broker SSLTargetName() string env.Env } QueryBrokerEnv is the interface for the Query Broker service environment. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.