detector

package
v0.6.9-beta001 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Is(options apiClient.CreateScriptOptions) (string, bool)
}

type CurlTestAdapter

type CurlTestAdapter struct {
}

func (CurlTestAdapter) Is

func (d CurlTestAdapter) Is(options apiClient.CreateScriptOptions) (name string, ok bool)

type Detector

type Detector struct {
	Adapters []Adapter
}

func NewDefaultDetector

func NewDefaultDetector() Detector

func (*Detector) Add

func (d *Detector) Add(adapter Adapter)

func (*Detector) Detect

func (d *Detector) Detect(options client.CreateScriptOptions) (name string, found bool)

type PostmanCollectionAdapter

type PostmanCollectionAdapter struct {
}

func (PostmanCollectionAdapter) Is

Jump to

Keyboard shortcuts

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