server

command
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 8 Imported by: 0

README

The Heartbleed test server. With caching by Mozilla.

Install the SAMPLE.aws-config.json as ~/.aws-config.json or /etc/aws-config.json or in a path specified by the GODYNAMO_CONF_FILE env var.

Usage:
  HBserver --redir-host=<host> [--listen=<addr:port> --expiry=<duration>]
           [--key=<key> --cert=<cert>]
  HBserver -h | --help
  HBserver --version

Options:
  --redir-host HOST   Redirect requests to "/" to this host.
  --listen ADDR:PORT  Listen and serve requests to this address:port [default: :8082].
  --expiry DURATION   ENABLE CACHING. Expire records after this period.
                      Uses Go's parse syntax
                      e.g. 10m = 10 minutes, 600s = 600 seconds, 1d = 1 day, etc.
  --key KEY           TLS key .pem file -- enable TLS
  --cert CERT         TLS cert .pem file -- enable TLS
  -h --help           Show this screen.
  --version           Show version.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
_third_party
github.com/docopt/docopt-go
Package docopt parses command-line arguments based on a help message.
Package docopt parses command-line arguments based on a help message.
github.com/howeyc/fsnotify
Package fsnotify implements file system notification.
Package fsnotify implements file system notification.
github.com/smugmug/goawsroles/roles
Defines an interface that can be implemented to provide IAM Roles data through various communication mechanisms, most likely regular text files (see the roles_files.go implementation).
Defines an interface that can be implemented to provide IAM Roles data through various communication mechanisms, most likely regular text files (see the roles_files.go implementation).
github.com/smugmug/goawsroles/roles_files
Implements the RolesReader interface (roles.go) for text files.
Implements the RolesReader interface (roles.go) for text files.
github.com/smugmug/godynamo/auth_v4
Manages AWS Auth v4 requests to DynamoDB.
Manages AWS Auth v4 requests to DynamoDB.
github.com/smugmug/godynamo/auth_v4/tasks
Manages signing tasks required by AWS Auth v4 requests to DynamoDB.
Manages signing tasks required by AWS Auth v4 requests to DynamoDB.
github.com/smugmug/godynamo/authreq
Implements the wrapper for versioned retryable DynamoDB requests.
Implements the wrapper for versioned retryable DynamoDB requests.
github.com/smugmug/godynamo/aws_const
A collection of consts reused in various packages.
A collection of consts reused in various packages.
github.com/smugmug/godynamo/conf
Manages reading the configuration file format into our shared conf state.
Manages reading the configuration file format into our shared conf state.
github.com/smugmug/godynamo/conf_file
Manages reading the conf file into the global var as described in the `conf` package.
Manages reading the conf file into the global var as described in the `conf` package.
github.com/smugmug/godynamo/endpoint
A collection of types and methods common to all of the endpoint/* packages.
A collection of types and methods common to all of the endpoint/* packages.
github.com/smugmug/godynamo/endpoints/get_item
Support for the DynamoDB GetItem endpoint.
Support for the DynamoDB GetItem endpoint.
github.com/smugmug/godynamo/endpoints/put_item
Support for the DynamoDB PutItem endpoint.
Support for the DynamoDB PutItem endpoint.
github.com/smugmug/godynamo/types/attributedefinition
Support for AttributeDefinition type.
Support for AttributeDefinition type.
github.com/smugmug/godynamo/types/attributesresponse
AttributeResponse is response for PutItem,UpdateItem,DeleteItem,etc
AttributeResponse is response for PutItem,UpdateItem,DeleteItem,etc
github.com/smugmug/godynamo/types/attributestoget
AttributesToGet is used in GetItem etc
AttributesToGet is used in GetItem etc
github.com/smugmug/godynamo/types/attributevalue
Support for AttributeValue type.
Support for AttributeValue type.
github.com/smugmug/godynamo/types/aws_strings
Some strings that are used in various packages
Some strings that are used in various packages
github.com/smugmug/godynamo/types/capacity
Package Capacity implements the Capacity type.
Package Capacity implements the Capacity type.
github.com/smugmug/godynamo/types/cast
Functions for casting Go primitive types into AWS types, typically stringified.
Functions for casting Go primitive types into AWS types, typically stringified.
github.com/smugmug/godynamo/types/expected
Package Expected implements the ExpectedAttributeValue data type.
Package Expected implements the ExpectedAttributeValue data type.
github.com/smugmug/godynamo/types/expressionattributenames
ExpressionAttributeNames is used in GetItem etc
ExpressionAttributeNames is used in GetItem etc
github.com/smugmug/godynamo/types/globalsecondaryindex
GlobalSecondaryIndex for defining new keys.
GlobalSecondaryIndex for defining new keys.
github.com/smugmug/godynamo/types/item
Item as described in docs for various endpoints.
Item as described in docs for various endpoints.
github.com/smugmug/godynamo/types/itemcollectionmetrics
Package ItemCollectionMetrics implements the profiling response type.
Package ItemCollectionMetrics implements the profiling response type.
github.com/smugmug/godynamo/types/keydefinition
KeyDefinition is how table keys are described.
KeyDefinition is how table keys are described.
github.com/smugmug/godynamo/types/localsecondaryindex
LocalSecondaryIndex for defining new keys.
LocalSecondaryIndex for defining new keys.
github.com/smugmug/godynamo/types/nullable
Used internally by GoDynamo for nullable primitives
Used internally by GoDynamo for nullable primitives
Depends on godynamo.
Depends on godynamo.

Jump to

Keyboard shortcuts

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