controller

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

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cntr

type Cntr struct{}

func (Cntr) CallIsPrivateProfile

func (contrl Cntr) CallIsPrivateProfile(steamID string) ([]byte, error)

func (Cntr) SaveCrawlingStats

func (control Cntr) SaveCrawlingStats(crawlingStatusJSON []byte) (bool, error)

type CntrInterface

type CntrInterface interface {
	SaveCrawlingStats(crawlingStatusJSON []byte) (bool, error)
	CallIsPrivateProfile(steamID string) ([]byte, error)
}

type MockCntrInterface

type MockCntrInterface struct {
	mock.Mock
}

CntrInterface is an autogenerated mock type for the CntrInterface type

func (*MockCntrInterface) CallIsPrivateProfile

func (_m *MockCntrInterface) CallIsPrivateProfile(steamID string) ([]byte, error)

CallIsPrivateProfile provides a mock function with given fields: steamID

func (*MockCntrInterface) SaveCrawlingStats

func (_m *MockCntrInterface) SaveCrawlingStats(crawlingStatusJSON []byte) (bool, error)

SaveCrawlingStats provides a mock function with given fields: crawlingStatusJSON

Jump to

Keyboard shortcuts

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