jarvis

package
v0.0.0-...-86fdd16 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ZoomConfig    *zoom.Config
	ZoomEnabled   bool          `long:"zoom-enable" description:"enable zoom integration" required:"false"  env:"ZOOM_ENABLED"`
	Interval      time.Duration `long:"interval" description:"Server Interval" required:"true" default:"5s" env:"INTERVAL"`
	DBType        string        `long:"db-type" description:"Database type" required:"true" default:"sqlite" env:"DB_TYPE"`
	DBUrl         string        `long:"db-url" description:"Database connection url" required:"true" default:"db.sqlite" env:"DB_URL"`
	Debug         bool          `long:"debug" description:"Debug logging" required:"false"  env:"DEBUG"`
	SlackAPIToken string        `long:"slack-api-token" description:"Slack API Token key" required:"false" env:"SLACK_API_TOKEN"`
	CredsFile     string        `` /* 128-byte string literal not displayed */
}

type Dictation

type Dictation struct {
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(config *Config) (s *Server, err error)

func (*Server) DictationStatus

func (s *Server) DictationStatus() middleware.Responder

func (*Server) Start

func (s *Server) Start()

func (*Server) StartDictation

func (s *Server) StartDictation() middleware.Responder

func (*Server) StopDictation

func (s *Server) StopDictation() middleware.Responder

func (*Server) WhatMyIpAddress

func (s *Server) WhatMyIpAddress()

Jump to

Keyboard shortcuts

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