http

package
v0.0.0-...-3664273 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL