cache

package
v0.0.0-...-72f9927 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(h string, service string, blocks []detect.TextBlock)

Add adds a new entry to the cache.

func Check

func Check(h string, service string) (blocks []detect.TextBlock, translateOnly bool)

Check returns the text blocks of the given image hash and its translation service if it is in cache, otherwise returns nil and the given service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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