Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EnvLogLevel is the log level environment variable.
EnvLogLevel = "GRK_LOG_LEVEL"
)
Variables ¶
View Source
var (
// Version is the application version.
Version = "0.0.1"
)
Functions ¶
This section is empty.
Types ¶
type IngestApp ¶
type IngestApp struct {
// contains filtered or unexported fields
}
IngestApp represents the Ingest process.
func NewIngestApp ¶
func NewIngestApp(opts IngestOptions) *IngestApp
NewIngestApp will create a new IngestApp.
type IngestOptions ¶
type IngestOptions struct { // LogLevel is the requested logging level for the application. LogLevel string // Twitter options. Twitter *TwitterOptions // RethinkDB options. RethinkDB *RethinkdbOptions }
IngestOptions stores data for tweet ingestion.
type RethinkdbOptions ¶
type RethinkdbOptions struct { Host string Port string Database string Username string Password string TLSCACertPath string TLSClientCertPath string TLSClientKeyPath string TLSConfig *tls.Config }
RethinkdbOptions stores data related to a RethinkDB connection.
type TwitterOptions ¶
type TwitterOptions struct { AccessToken string AccessSecret string ConsumerKey string ConsumerSecret string Track []string Logger *logrusAnacondaLogger }
TwitterOptions stores data related to a Twitter connection.
type WebApp ¶
type WebApp struct {
// contains filtered or unexported fields
}
WebApp represents the web ui process.
type WebOptions ¶
type WebOptions struct { // LogLevel is the requested logging level for the application. LogLevel string // ListenAddress is the host:port to listen for requests. ListenAddress string // TemplateDir is the directory that contains HTML templates. TemplateDir string // RethinkDB options. RethinkDB *RethinkdbOptions }
WebOptions stores configuration options for the server.
Click to show internal directories.
Click to hide internal directories.