Documentation ¶
Index ¶
- Variables
- func ContinueConversation()
- func DeleteRecordedAudioFiles(path string)
- func EndConversation(w http.ResponseWriter, r *http.Request)
- func Foo(newtimer *time.Timer)
- func GetSpeakerFromDiartOutput(filePath string, audioStart float64) (string, error)
- func GetText(filePath string) (string, error)
- func PlayAudio(filePath string) (time.Time, error)
- func RecordedAudio(w http.ResponseWriter, r *http.Request)
- func Start()
- func StartConversation(w http.ResponseWriter, r *http.Request)
- func SubtractTime(time1 time.Time, time2 time.Time) (int, error)
- func Wav(w http.ResponseWriter, r *http.Request)
- type AudioHandlers
- type AudioText
- type AuthenHandlers
- func (authenHandler AuthenHandlers) Delete(w http.ResponseWriter, r *http.Request)
- func (authenHandler AuthenHandlers) Login(w http.ResponseWriter, r *http.Request)
- func (authenHandler AuthenHandlers) ReadUser(w http.ResponseWriter, r *http.Request)
- func (authenHandler AuthenHandlers) Signup(w http.ResponseWriter, r *http.Request)
- func (authenHandler AuthenHandlers) Update(w http.ResponseWriter, r *http.Request)
- func (authenHandler AuthenHandlers) VerifyEmail(w http.ResponseWriter, r *http.Request)
- type Detection
- type EndConv
- type EndDetection
- type NotificationHandlers
- func (notificationHandler NotificationHandlers) Create(w http.ResponseWriter, r *http.Request)
- func (notificationHandler NotificationHandlers) CreateNotificationInternally(notiObj *notification.Notification) error
- func (notificationHandler NotificationHandlers) ReadByNotificationID(w http.ResponseWriter, r *http.Request)
- func (notificationHandler NotificationHandlers) ReadByUserID(w http.ResponseWriter, r *http.Request)
- type StartConv
Constants ¶
This section is empty.
Variables ¶
View Source
var CMD *exec.Cmd
View Source
var ConversationStarTime time.Time
Functions ¶
func ContinueConversation ¶
func ContinueConversation()
func DeleteRecordedAudioFiles ¶
func DeleteRecordedAudioFiles(path string)
func EndConversation ¶
func EndConversation(w http.ResponseWriter, r *http.Request)
func RecordedAudio ¶
func RecordedAudio(w http.ResponseWriter, r *http.Request)
func StartConversation ¶
func StartConversation(w http.ResponseWriter, r *http.Request)
Types ¶
type AudioHandlers ¶
type AudioHandlers struct {
// contains filtered or unexported fields
}
func (AudioHandlers) SoundDetection ¶
func (audio AudioHandlers) SoundDetection(w http.ResponseWriter, r *http.Request)
type AuthenHandlers ¶
type AuthenHandlers struct {
// contains filtered or unexported fields
}
func (AuthenHandlers) Delete ¶
func (authenHandler AuthenHandlers) Delete(w http.ResponseWriter, r *http.Request)
Delete endpoint to delete user
func (AuthenHandlers) Login ¶
func (authenHandler AuthenHandlers) Login(w http.ResponseWriter, r *http.Request)
func (AuthenHandlers) ReadUser ¶
func (authenHandler AuthenHandlers) ReadUser(w http.ResponseWriter, r *http.Request)
func (AuthenHandlers) Signup ¶
func (authenHandler AuthenHandlers) Signup(w http.ResponseWriter, r *http.Request)
func (AuthenHandlers) Update ¶
func (authenHandler AuthenHandlers) Update(w http.ResponseWriter, r *http.Request)
func (AuthenHandlers) VerifyEmail ¶
func (authenHandler AuthenHandlers) VerifyEmail(w http.ResponseWriter, r *http.Request)
type EndDetection ¶
type EndDetection struct {
EndDetection bool `json:"end_detection"`
}
type NotificationHandlers ¶
type NotificationHandlers struct {
// contains filtered or unexported fields
}
func (NotificationHandlers) Create ¶
func (notificationHandler NotificationHandlers) Create(w http.ResponseWriter, r *http.Request)
func (NotificationHandlers) CreateNotificationInternally ¶
func (notificationHandler NotificationHandlers) CreateNotificationInternally(notiObj *notification.Notification) error
func (NotificationHandlers) ReadByNotificationID ¶
func (notificationHandler NotificationHandlers) ReadByNotificationID(w http.ResponseWriter, r *http.Request)
func (NotificationHandlers) ReadByUserID ¶
func (notificationHandler NotificationHandlers) ReadByUserID(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.