cost

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package cost provides utilities for calculating AWS Lambda pricing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cost

func Cost(requests, ms, memory int) float64

Cost returns the total cost.

func DurationCost

func DurationCost(ms, memory int) float64

DurationCost returns the cost of `ms` for the given `memory` configuration in megabytes.

func Rate

func Rate(memory int) float64

Rate returns the cost per 100ms for the given `memory` configuration in megabytes.

func RequestCost

func RequestCost(n int) float64

RequestCost returns the cost of `n` requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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