mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorHandler

type ErrorHandler struct {
	mock.Mock
}

ErrorHandler is an autogenerated mock type for the ErrorHandler type

func (*ErrorHandler) NotFound

func (_m *ErrorHandler) NotFound(g *gin.Context)

NotFound provides a mock function with given fields: g

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Asset

func (_m *Publisher) Asset(g *gin.Context, webp bool) (*[]byte, domain.Mime, error)

Asset provides a mock function with given fields: g, webp

func (*Publisher) NotFound

func (_m *Publisher) NotFound(g *gin.Context)

NotFound provides a mock function with given fields: g

func (*Publisher) Page

func (_m *Publisher) Page(g *gin.Context) ([]byte, error)

Page provides a mock function with given fields: g

func (*Publisher) SiteMap

func (_m *Publisher) SiteMap() publisher.SiteMapper

SiteMap provides a mock function with given fields:

func (*Publisher) Upload

func (_m *Publisher) Upload(g *gin.Context, webp bool) (*[]byte, domain.Mime, error)

Upload provides a mock function with given fields: g, webp

type SiteMapper

type SiteMapper struct {
	mock.Mock
}

SiteMapper is an autogenerated mock type for the SiteMapper type

func (*SiteMapper) ClearCache

func (_m *SiteMapper) ClearCache()

ClearCache provides a mock function with given fields:

func (*SiteMapper) Index

func (_m *SiteMapper) Index() ([]byte, error)

Index provides a mock function with given fields:

func (*SiteMapper) Pages

func (_m *SiteMapper) Pages(resource string) ([]byte, error)

Pages provides a mock function with given fields: resource

func (*SiteMapper) XSL

func (_m *SiteMapper) XSL(index bool) ([]byte, error)

XSL provides a mock function with given fields: index

Jump to

Keyboard shortcuts

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