sslmate

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrrorFailedToSearch = "Failed to search"
)

Functions

func DefaultCTClients added in v0.0.36

func DefaultCTClients(domains []string, context context.Context) (*core.CTClients[*SSLMateCTClient], error)

func DefaultCTsStream

func DefaultCTsStream(domains []string, ctx context.Context) (*core.CTStream[*core.CTClients[*SSLMateCTClient]], error)

func GetFirst

func GetFirst(ctClients *core.CTClients[*SSLMateCTClient]) int

func NewCTClients added in v0.0.36

func NewCTClients(clients []*SSLMateCTClient, sleep time.Duration) (*core.CTClients[*SSLMateCTClient], error)

func SetFirst

func SetFirst(first int, ctClients *core.CTClients[*SSLMateCTClient])

Types

type SSLMateCTClient

type SSLMateCTClient struct {
	Api    *api.SSLMateSearchAPI
	Domain string
	First  string
	Sleep  time.Duration
}

func AddByDomain

func AddByDomain(
	domain string,
	clients *core.CTClients[*SSLMateCTClient],
) (*SSLMateCTClient, int, error)

func DefaultCTClient

func DefaultCTClient(domain string) (*SSLMateCTClient, error)

func DelByDomain

func DelByDomain(
	domain string,
	clients *core.CTClients[*SSLMateCTClient],
) (*SSLMateCTClient, int, error)

func NewCTClient

func NewCTClient(domain string, api *api.SSLMateSearchAPI, sleep time.Duration) (*SSLMateCTClient, error)

func SelectByDomain added in v0.0.33

func SelectByDomain(
	domain string,
	clients *core.CTClients[*SSLMateCTClient],
) (*SSLMateCTClient, int, error)

func (*SSLMateCTClient) GetDomain

func (client *SSLMateCTClient) GetDomain() string

func (*SSLMateCTClient) Init

func (client *SSLMateCTClient) Init() error

func (*SSLMateCTClient) Next

func (client *SSLMateCTClient) Next(callback core.Callback)

type SSLMateCTParams

type SSLMateCTParams struct {
	Index  *api.Index
	Client *SSLMateCTClient
}

Jump to

Keyboard shortcuts

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