mock

package
v0.3.666 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock provides a fake Driver implementation that is only used for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() drivers.Driver

Types

type Mocker

type Mocker struct {
	// contains filtered or unexported fields
}

func (*Mocker) Close

func (m *Mocker) Close() error

func (*Mocker) CreateCookie

func (*Mocker) PrepareCookie

func (m *Mocker) PrepareCookie(context.Context, drivers.Cookie) error

Jump to

Keyboard shortcuts

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