Documentation ¶
Index ¶
- func NewSimpleHTTPClient(opts ...option) *simpleHTTPClient
- func WithCognosIntegratedLogin() option
- func WithHost(hostname string) option
- func WithInsecureConnection() option
- func WithNamespace(namespace string) option
- func WithPassword(password string) option
- func WithPort(port int) option
- func WithTimeoutConnection(seconds int) option
- func WithUsername(username string) option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimpleHTTPClient ¶
func NewSimpleHTTPClient(opts ...option) *simpleHTTPClient
NewSimpleHTTPClient creates the standard http client. It can be changed like we do in the tests.
func WithCognosIntegratedLogin ¶
func WithCognosIntegratedLogin() option
WithCognosIntegratedLogin if you are using Cognos Analytics.
func WithHost ¶
func WithHost(hostname string) option
WithHost provides the option to select the hostname of TM1 server.
func WithInsecureConnection ¶
func WithInsecureConnection() option
WithInsecureConnection provides insecure connection.
func WithNamespace ¶
func WithNamespace(namespace string) option
WithNamespace provides the option to select the namespace of TM1 server.
func WithPassword ¶
func WithPassword(password string) option
WithPassword provides the option to select the password of an user of TM1 server.
func WithPort ¶
func WithPort(port int) option
WithPort provides the option to select the hostname of TM1 server.
func WithTimeoutConnection ¶
func WithTimeoutConnection(seconds int) option
WithTimeoutConnection provides the timeout in seconds to the connection.
func WithUsername ¶
func WithUsername(username string) option
WithUsername provides the option to select the username of TM1 server.
Types ¶
This section is empty.