service

package
v0.0.0-...-5528672 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Correlation

type Correlation struct {
}

Correlation struct

func NewCorrelation

func NewCorrelation() *Correlation

NewCorrelation creates a new instance

func (*Correlation) UUIDv4

func (c *Correlation) UUIDv4() string

UUIDv4 create a UUID version 4

type FileSystem

type FileSystem struct {
}

FileSystem struct

func NewFileSystem

func NewFileSystem() *FileSystem

NewFileSystem creates a new instance

func (*FileSystem) DeleteDir

func (fs *FileSystem) DeleteDir(dir string) error

DeleteDir deletes a dir

func (*FileSystem) DirExists

func (fs *FileSystem) DirExists(path string) bool

DirExists reports whether the dir exists

func (*FileSystem) EnsureDir

func (fs *FileSystem) EnsureDir(dirName string, mode int) error

EnsureDir ensures that directory exists

func (*FileSystem) FileExists

func (fs *FileSystem) FileExists(path string) bool

FileExists reports whether the named file exists

func (*FileSystem) StoreFile

func (fs *FileSystem) StoreFile(path, content string) error

StoreFile stores a file content

Jump to

Keyboard shortcuts

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