common

package
v1.0.277 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = 60 * time.Second
View Source
const LibraryVersion = "0.0.1"

Variables

This section is empty.

Functions

func DefaultHttpClient

func DefaultHttpClient() *http.Client

func SPtr added in v1.0.252

func SPtr(s string) *string

func SafeStr

func SafeStr(s *string) string

SafeStr safely dereferences a string pointer and returns its value if it is non-nil, or the empty string if it is nil.

func UserAgent

func UserAgent() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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