Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Options Options
// contains filtered or unexported fields
}
func NewClientWithOptions ¶
type EnvTokenReader ¶
type EnvTokenReader struct {
VarName string
}
func (*EnvTokenReader) ReadToken ¶
func (etr *EnvTokenReader) ReadToken() (string, error)
type Factory ¶
type Factory struct{}
func NewFactory ¶
func NewFactory() *Factory
func (*Factory) DefaultResponseHeaders ¶
type Options ¶
type Options struct {
Host string
Token string
TokenReader TokenReader
}
type TokenReader ¶
Click to show internal directories.
Click to hide internal directories.