file

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filer

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

Filer saves working ids to file system

func NewFiler

func NewFiler() (*Filer, error)

NewFiler creates a Filer

func (*Filer) Delete

func (f *Filer) Delete(kafkaID string) error

Delete removes transcription ID from working file indicators

func (*Filer) Find

func (f *Filer) Find(kafkaID string) (*kafkaapi.KafkaTrMap, error)

Find returns existing working map by kafkaID or nil

func (*Filer) SetWorking

func (f *Filer) SetWorking(krIds *kafkaapi.KafkaTrMap) error

SetWorking creates file with id as working one

Jump to

Keyboard shortcuts

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