usecase

package
v0.0.0-...-6c12eda Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParserUseCase

type ParserUseCase interface {
	ProduceMessage(toSend model.FunctionMetadata) error
	ExtractFunctions(code []byte, fileName, packageName, link string) ([]model.FunctionMetadata, error)
	ParseUrl(rawUrl string) (string, string, string, error)
	FetchFile(url string) ([]byte, error)
}

func NewParserUseCase

func NewParserUseCase(producer *kafka.Producer, whiteList map[string]bool) ParserUseCase

Jump to

Keyboard shortcuts

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