crudtest

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct{}

App for mocked calls

func New

func New() App

New creates new mocked instance

func (App) Browser

Browser mocked implementation

func (App) Create

Create mocked implementation

func (App) CreateShare

func (a App) CreateShare(http.ResponseWriter, *http.Request, provider.Request)

CreateShare mocked implementation

func (App) Delete

Delete mocked implementation

func (App) DeleteShare

func (a App) DeleteShare(http.ResponseWriter, *http.Request, provider.Request)

DeleteShare mocked implementation

func (App) Get

func (a App) Get(http.ResponseWriter, *http.Request, provider.Request) (string, int, map[string]interface{}, error)

Get mocked implementation

func (App) List

func (a App) List(http.ResponseWriter, provider.Request, renderer.Message) (string, int, map[string]interface{}, error)

List mocked implementation

func (App) Post

Post mocked implementation

func (App) Rename

Rename mocked implementation

func (App) Start

func (a App) Start(<-chan struct{})

Start mocked implementation

func (App) Upload

Upload mocked implementation

Jump to

Keyboard shortcuts

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