status

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrCode

type ErrCode int

ErrCode represents asr err codes

const (
	// ServiceError - indicates service error
	ECServiceError ErrCode = iota + 1
	// ServiceError - indicates service error
	ECNotFound
)

func (ErrCode) String

func (ec ErrCode) String() string

type Status

type Status int

Status represents asr status

const (
	// Uploaded value
	Uploaded Status = iota + 1
	// Working step
	Working
	// Completed - final step
	Completed
	// ServiceError - indicates service error
	ServiceError
	// ServiceError - indicates service error
	NotFound
)

func From

func From(st string) Status

From returns status obj from string

func (Status) String

func (st Status) String() string

Jump to

Keyboard shortcuts

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