savefile

package
v0.0.0-...-e525d52 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompletePath

func GetCompletePath(p PPfile, serviceName, ext string) *profile.Path

func GetFileName

func GetFileName(p PPfile, serviceName, ext string) string

func GetRootPath

func GetRootPath() string

Types

type BlockFile

type BlockFile struct{}

func NewBlockFile

func NewBlockFile() *BlockFile

func (*BlockFile) GetPrefix

func (p *BlockFile) GetPrefix() string

func (*BlockFile) GetSaveCompletePath

func (p *BlockFile) GetSaveCompletePath() string

func (*BlockFile) GetSavePath

func (p *BlockFile) GetSavePath() string

func (*BlockFile) GetSuffix

func (p *BlockFile) GetSuffix() string

type FileOutput

type FileOutput struct {
	Path *profile.CompletePath
}

func NewFileOutput

func NewFileOutput(path *profile.CompletePath) *FileOutput

func (*FileOutput) GetImage

func (f *FileOutput) GetImage(output []byte) error

func (*FileOutput) GetPzPb

func (f *FileOutput) GetPzPb(body io.ReadCloser) error

type GoroutineFile

type GoroutineFile struct{}

func NewGoroutineFile

func NewGoroutineFile() *GoroutineFile

func (*GoroutineFile) GetPrefix

func (p *GoroutineFile) GetPrefix() string

func (*GoroutineFile) GetSaveCompletePath

func (p *GoroutineFile) GetSaveCompletePath() string

func (*GoroutineFile) GetSavePath

func (p *GoroutineFile) GetSavePath() string

func (*GoroutineFile) GetSuffix

func (p *GoroutineFile) GetSuffix() string

type HeapFile

type HeapFile struct{}

func NewHeapFile

func NewHeapFile() *HeapFile

func (*HeapFile) GetPrefix

func (p *HeapFile) GetPrefix() string

func (*HeapFile) GetSaveCompletePath

func (p *HeapFile) GetSaveCompletePath() string

func (*HeapFile) GetSavePath

func (p *HeapFile) GetSavePath() string

func (*HeapFile) GetSuffix

func (p *HeapFile) GetSuffix() string

type MutexFile

type MutexFile struct{}

func NewMutexFile

func NewMutexFile() *MutexFile

func (*MutexFile) GetPrefix

func (p *MutexFile) GetPrefix() string

func (*MutexFile) GetSaveCompletePath

func (p *MutexFile) GetSaveCompletePath() string

func (*MutexFile) GetSavePath

func (p *MutexFile) GetSavePath() string

func (*MutexFile) GetSuffix

func (p *MutexFile) GetSuffix() string

type PPfile

type PPfile interface {
	GetSuffix() string
	GetSaveCompletePath() string
	GetSavePath() string
	GetPrefix() string
}

type ProfileFile

type ProfileFile struct{}

func NewProfileFile

func NewProfileFile() *ProfileFile

func (*ProfileFile) GetPrefix

func (p *ProfileFile) GetPrefix() string

func (*ProfileFile) GetSaveCompletePath

func (p *ProfileFile) GetSaveCompletePath() string

func (*ProfileFile) GetSavePath

func (p *ProfileFile) GetSavePath() string

func (*ProfileFile) GetSuffix

func (p *ProfileFile) GetSuffix() string

type Show

type Show struct {
	Path *profile.CompletePath
}

func NewShow

func NewShow(path *profile.CompletePath) *Show

func (*Show) Image

func (c *Show) Image() string

func (*Show) PzPb

func (c *Show) PzPb() string

Jump to

Keyboard shortcuts

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