internal

package
v0.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Request

func Request(method string, path string, body io.Reader) (*http.Request, error)

Request returns a request after taking care of the server URL and token.

func RequestWithoutToken

func RequestWithoutToken(method string, path string, body io.Reader) (*http.Request, error)

RequestWithoutToken returns a request set to the correct server URL but without a token set.

func ServerURL

func ServerURL() string

ServerURL returns the server URL.

func TokenPath

func TokenPath() (string, error)

TokenPath returns where is the token.json used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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