Structs

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringIndexOf

func StringIndexOf(v string, a []string) int

Types

type MultiSegmentImage

type MultiSegmentImage struct {
	SubProductId int
	ImageID      int
	Name         string
	Files        []string
	MaxSegments  int

	CreatedAt time.Time

	FirstSegmentHeader   *XRIT.Header
	FirstSegmentFilename string
	// contains filtered or unexported fields
}

func MakeMultiSegmentImage

func MakeMultiSegmentImage(Name string, SubProductId, ImageID int) *MultiSegmentImage

func (*MultiSegmentImage) Done

func (msi *MultiSegmentImage) Done() bool

func (*MultiSegmentImage) Expired

func (msi *MultiSegmentImage) Expired() bool

func (*MultiSegmentImage) Purge

func (msi *MultiSegmentImage) Purge()

func (*MultiSegmentImage) PutSegment

func (msi *MultiSegmentImage) PutSegment(filename string, xh *XRIT.Header)

Jump to

Keyboard shortcuts

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