ioc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name    string
	Content []string
	Pattern string
}

type IOC

type IOC struct {
	// contains filtered or unexported fields
}

func GetPredefinedIOC

func GetPredefinedIOC(name string) (*IOC, bool)

func NewIOC

func NewIOC(config *Config) (*IOC, error)

func (*IOC) GetContent

func (i *IOC) GetContent() []string

func (*IOC) GetName

func (i *IOC) GetName() string

func (*IOC) GetRegex

func (i *IOC) GetRegex() *regexp.Regexp

Jump to

Keyboard shortcuts

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