metabase

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetabaseSessionHeader = "X-Metabase-Session"
	RelPathApiSession     = "api/session"
	RelPathApiUserCurrent = "api/user/current"
)

Variables

View Source
var (
	TLSInsecureSkipVerify = false
)

Functions

func AuthRequest

func AuthRequest(authUrl, username, password string) (*http.Response, error)

func NewClient

func NewClient(baseUrl, username, password string) (*http.Client, error)

NewClient returns a *http.Client that will add the Metabase Session header to each request.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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