Discover Packages
github.com/sbogacz/going-serverless/03_separate_binaries_and_gocloud
internal
toy
package
Version:
v0.0.0-...-0071f02
Opens a new window with list of versions in this module.
Published: Sep 28, 2020
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
BucketName string
Port int
}
Config holds the static config our server needs
Flags returns a slice of urfave.Flag to allow
our configuration to be populated by flags or
env vars
type Server struct {
Router *chi .Mux
}
Server represents all of the config and clients
needed to run our app
New tries to cerate a new instance of Service
Stop stops the server gracefully
Source Files
¶
Click to show internal directories.
Click to hide internal directories.