evidence

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Copyright (c) 2021 Tenebris Technologies Inc. (https://www.tenebris.com) Use of this source code is governed by the MIT license. Please see the LICENSE for details.

Copyright (c) 2021 Tenebris Technologies Inc. (https://www.tenebris.com) Use of this source code is governed by the MIT license. Please see the LICENSE for details.

Copyright (c) 2021 Tenebris Technologies Inc. (https://www.tenebris.com) Use of this source code is governed by the MIT license. Please see the LICENSE for details.

Copyright (c) 2021 Tenebris Technologies Inc. (https://www.tenebris.com) Use of this source code is governed by the MIT license. Please see the LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evidence

type Evidence struct {
	User string // TBL username
	Pass string // TBL password
	Key  string // TBL API KEY
	URL  string // URL for TBL evidence task
	File string // File to upload
	Type string // File type (i.e. text/plain, text/csv)
}

func New

func New() Evidence

func (*Evidence) Credentials

func (e *Evidence) Credentials(fileName string) error

func (*Evidence) Upload

func (e *Evidence) Upload() error

type TBLCredentials

type TBLCredentials struct {
	User string `json:"Username"`
	Pass string `json:"Password"`
	Key  string `json:"X-API-KEY"`
}

Jump to

Keyboard shortcuts

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