interfaces

package
v0.0.0-...-6ea9dd7 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

type Compressor interface {
	Compress(c context.Context, fileName string, data []byte) ([]byte, error)
	Decompress(c context.Context, data []byte) ([]byte, error)
}

type Storer

type Storer interface {
	Exists(context.Context, string) (bool, error)
	Read(c context.Context, uuid string) ([]byte, error)
	Write(c context.Context, uuid string, data []byte) error
}

type UblExtension

type UblExtension interface {
	Hash(s string) string
	Parse([]byte) (string, string, *map[string]string, error)
	GetAdditionalInfo(data []byte) (*[]string, error)
}

Jump to

Keyboard shortcuts

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