hybridanalysis

package
v0.0.0-...-7f0a77f Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(sugar *zap.SugaredLogger, apiKey string) *Client

func NewClientForTest

func NewClientForTest(sugar *zap.SugaredLogger, client *http.Client, baseURL string) *Client

func (*Client) ReportSummary

func (h *Client) ReportSummary(jobID string) ([]byte, error)

func (*Client) SubmitFile

func (h *Client) SubmitFile(fileName string, content []byte) ([]byte, error)

type Parser

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

func NewParser

func NewParser(sugar *zap.SugaredLogger) *Parser

func (*Parser) ParseReportSummary

func (p *Parser) ParseReportSummary(respBytes []byte) (string, string, error)

func (*Parser) ParseSubmitFile

func (p *Parser) ParseSubmitFile(respBytes []byte) (string, error)

Jump to

Keyboard shortcuts

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