mock

package
v0.59.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	StopCallBack         func() error
	GetPDFOfPageCallBack func(string, string) ([]byte, error)
}

func NewMockClient

func NewMockClient() (MockClient, error)

NewClient returns an actual github client

func (MockClient) GetPDFOfPage

func (c MockClient) GetPDFOfPage(page, storePath string) ([]byte, error)

func (MockClient) Stop

func (c MockClient) Stop() error

Jump to

Keyboard shortcuts

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