Documentation
¶
Overview ¶
Package main is the entry point for the application. It reads the server configuration info, initializes the server.Factory, wires up routes to the appropriate handlers, then starts the HTTP/HTTPS server.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package build contains build objects, which are passed to HTML templates to generate HTML pages.
|
Package build contains build objects, which are passed to HTML templates to generate HTML pages. |
|
Package config includes definitions for the Emissary configuration file, along with adapters for reading/writing from the filesystem or a mongodb database.
|
Package config includes definitions for the Emissary configuration file, along with adapters for reading/writing from the filesystem or a mongodb database. |
|
Package domain contains the domain-level Factory, along with the realtime client/server for SSE connections.
|
Package domain contains the domain-level Factory, along with the realtime client/server for SSE connections. |
|
Package handler contains all of the HTTP handlers for Emissary.
|
Package handler contains all of the HTTP handlers for Emissary. |
|
Package middleware contains HTTP middleware that is specific to Emissary.
|
Package middleware contains HTTP middleware that is specific to Emissary. |
|
Package model contains all of the domain model objects that are used in the system.
|
Package model contains all of the domain model objects that are used in the system. |
|
step
Package Step encapsulates the DATA required for each pipeline step in the builder.
|
Package Step encapsulates the DATA required for each pipeline step in the builder. |
|
Package queries contains all of the custom queries required by this application that DO NOT run through the standard `data` package.
|
Package queries contains all of the custom queries required by this application that DO NOT run through the standard `data` package. |
|
Package server contains the server.Factory, which is the root level factory for the system.
|
Package server contains the server.Factory, which is the root level factory for the system. |
|
Package service includes all of the services used in Emissary.
|
Package service includes all of the services used in Emissary. |
|
Package tools contains..
|
Package tools contains.. |
|
cacheheader
Package cacheheader provides a simple parser and serializer for http `Cache-Control` headers
|
Package cacheheader provides a simple parser and serializer for http `Cache-Control` headers |
|
camper
Camper is an implementation of FEP-3b86 Activity Intents.
|
Camper is an implementation of FEP-3b86 Activity Intents. |
|
channels
Package channels includes some nifty tools for manipulating channels
|
Package channels includes some nifty tools for manipulating channels |
|
convert
Package convert contains Emissary-specific conversions to and from various export formats.
|
Package convert contains Emissary-specific conversions to and from various export formats. |
|
dataset
Package dataset contains some sets of static data that are embedded into Emissary.
|
Package dataset contains some sets of static data that are embedded into Emissary. |
|
hmac
Package hmac contains some nifty tools for manipulating HMAC signatures.
|
Package hmac contains some nifty tools for manipulating HMAC signatures. |
|
id
Package id provides some nifty tools for manipulating mongodb objectIDs.
|
Package id provides some nifty tools for manipulating mongodb objectIDs. |
|
random
Package random contains some nifty tools for generating rantom numbers.
|
Package random contains some nifty tools for generating rantom numbers. |
|
s3uri
Package s3uri parses and generates URI strings for Amazon S3 resources.
|
Package s3uri parses and generates URI strings for Amazon S3 resources. |
|
set
Package set contains some nifty tools for manipulating sets of data, including implementations for slices AND maps.
|
Package set contains some nifty tools for manipulating sets of data, including implementations for slices AND maps. |
|
tinyDate
Package tinyDate provides a nifty way to format dates, just like those fancy tech-bro's do in Silicon Valley.
|
Package tinyDate provides a nifty way to format dates, just like those fancy tech-bro's do in Silicon Valley. |
|
val
Package val is a light and cheap collection of validators.
|
Package val is a light and cheap collection of validators. |
Click to show internal directories.
Click to hide internal directories.