handlers

package
v0.0.0-...-310c153 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MIMEApplicationXYaml = "application/x-yaml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

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

func NewAdmin

func NewAdmin(ms services.Mocks, graph services.Graph) *Admin

func (*Admin) AddMocks

func (a *Admin) AddMocks(c echo.Context) error

func (*Admin) GetHistory

func (a *Admin) GetHistory(c echo.Context) error

func (*Admin) GetMocks

func (a *Admin) GetMocks(c echo.Context) error

func (*Admin) GetSessions

func (a *Admin) GetSessions(c echo.Context) error

func (*Admin) ImportSession

func (a *Admin) ImportSession(c echo.Context) error

func (*Admin) LockMocks

func (a *Admin) LockMocks(c echo.Context) error

func (*Admin) NewSession

func (a *Admin) NewSession(c echo.Context) error

func (*Admin) Reset

func (a *Admin) Reset(c echo.Context) error

func (*Admin) SummarizeHistory

func (a *Admin) SummarizeHistory(c echo.Context) error

func (*Admin) SummarizeSessions

func (a *Admin) SummarizeSessions(c echo.Context) error

func (*Admin) UnlockMocks

func (a *Admin) UnlockMocks(c echo.Context) error

func (*Admin) UpdateSession

func (a *Admin) UpdateSession(c echo.Context) error

func (*Admin) VerifySession

func (a *Admin) VerifySession(c echo.Context) error

type Mocks

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

func NewMocks

func NewMocks(ms services.Mocks) *Mocks

func (*Mocks) GenericHandler

func (m *Mocks) GenericHandler(c echo.Context) error

Jump to

Keyboard shortcuts

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