mock

package
v0.0.0-...-fac958a Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigResponse

func ConfigResponse() *types.ConfigResponse

func FullStatusResponse

func FullStatusResponse(count float64) *types.StatusResponse

func StatusResponse

func StatusResponse(kind int, count float64) *types.StatusResponse

Types

type MockRRF

type MockRRF struct {
	Auth *types.AuthResponse
	// contains filtered or unexported fields
}

func NewMockRRF

func NewMockRRF(log *log.Logger) *MockRRF

func (*MockRRF) Router

func (m *MockRRF) Router() http.Handler

func (*MockRRF) Update

func (m *MockRRF) Update()

func (*MockRRF) WithFailSet

func (m *MockRRF) WithFailSet(f map[int]bool) *MockRRF

Jump to

Keyboard shortcuts

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