storage

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 16 Imported by: 1

Documentation

Overview

**************************************************************************

  • COPYRIGHT (C) 2018, Rapid7 LLC, Boston, MA, USA.
  • This code is licensed under MIT license (see LICENSE for details) *************************************************************************

**************************************************************************

  • COPYRIGHT (C) 2018, Rapid7 LLC, Boston, MA, USA.
  • This code is licensed under MIT license (see LICENSE for details) *************************************************************************

**************************************************************************

  • COPYRIGHT (C) 2018, Rapid7 LLC, Boston, MA, USA.
  • This code is licensed under MIT license (see LICENSE for details) *************************************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEncryptedFile added in v0.1.11

func NewEncryptedFile(fileName string) *encryptedFile

func NewMemory added in v0.1.11

func NewMemory(filename string) *memory

func NewS3Object added in v0.1.11

func NewS3Object(fileName string) (*s3Object, error)

Types

type StoredFile added in v0.1.11

type StoredFile interface {
	FileName() string
	Write(data []byte) error
	Read() ([]byte, error)
	Exists() bool
}

func NewCorrelationFile added in v0.1.11

func NewCorrelationFile(fileName string) (StoredFile, error)

func NewStoredFile added in v0.1.11

func NewStoredFile(fileName string) (StoredFile, error)

Jump to

Keyboard shortcuts

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