model

package
v0.0.0-...-9a34aa6 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceUrl string
)

Functions

func CreateBundle

func CreateBundle(etag string, data []byte) error

for the create we should not follow the redirect. Initial request needs to be made with no data, otherwise we are limited by the APi gateway 10MB constraint.

func GetBundle

func GetBundle(etag string) ([]byte, error)

Types

type UsbService

type UsbService interface {
	Store(filepath string) (string, error)
	Download(etag string) ([]byte, error)
}

func NewUsbService

func NewUsbService() UsbService

Jump to

Keyboard shortcuts

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