zombie

package
v0.0.0-...-2ef0b57 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: BSD-3-Clause Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTag

func GetTag(s string) string

GetTag returns the slug equivalent of a given string

Types

type Config

type Config struct {
	LootPath string
	Tag      string
}

type Extrusion

type Extrusion struct{}

type SessionCookie

type SessionCookie struct {
	Name     string `json:"name"`
	Value    string `json:"value"`
	Domain   string `json:"domain"`
	Expires  string `json:"expires"`
	Path     string `json:"path"`
	HttpOnly bool   `json:"httpOnly"`
	Secure   bool   `json:"secure"`
}

type Target

type Target struct {
	Context context.Context
	Cookies []SessionCookie
	Config
}

func (*Target) Debug

func (m *Target) Debug(format string, args ...interface{})

func (*Target) Error

func (m *Target) Error(format string, args ...interface{})

func (*Target) Fatal

func (m *Target) Fatal(format string, args ...interface{})

func (*Target) Important

func (m *Target) Important(format string, args ...interface{})

func (*Target) Info

func (m *Target) Info(format string, args ...interface{})

func (*Target) Warning

func (m *Target) Warning(format string, args ...interface{})

type Zombie

type Zombie interface {
	Instrument() (interface{}, error)
	Name() string
	SetLootPath(string)
	SetContext(ctx context.Context)
}

Zombie is the interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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