util

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const URLTemplate = "https://%s.%s.amazonaws.com"

Variables

This section is empty.

Functions

func GetTypeName added in v0.3.0

func GetTypeName(object interface{}) string

func MarshalJson

func MarshalJson(v interface{}) []byte

func MarshalJsonString

func MarshalJsonString(v interface{}) string

func UnmarshalJson

func UnmarshalJson(data []byte, v interface{})

func UnmarshalJsonString

func UnmarshalJsonString(data string, v interface{})

Types

type Warmer

type Warmer interface {
	WarmUp(services []string)
}

func NewWarmer

func NewWarmer(region string, httpClient *http.Client) Warmer

func NewWarmerWithDefaultRegion

func NewWarmerWithDefaultRegion(httpClient *http.Client) Warmer

Jump to

Keyboard shortcuts

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