models

package
v1.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package models is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	GetRoutes() Routes
}

Controller pattern of rest controller

type DefaultController

type DefaultController struct {
}

DefaultController default controller

type MockController

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

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockController) GetRoutes

func (m *MockController) GetRoutes() Routes

GetRoutes mocks base method.

type MockControllerMockRecorder

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

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) GetRoutes

func (mr *MockControllerMockRecorder) GetRoutes() *gomock.Call

GetRoutes indicates an expected call of GetRoutes.

type Route

type Route struct {
	Path                      string
	Method                    string
	HandlerFunc               echo.HandlerFunc
	AllowUnauthenticatedUsers bool
	RequiredPermissions       []string
}

Route Describes a route

type Routes

type Routes []Route

Routes holder for all routes

type ServerStatus

type ServerStatus struct {
	Details string `json:"details"`
	Time    string `json:"time"`
}

ServerStatus represents the status of the server swagger:model

type ServerVersion

type ServerVersion struct {
	Version string `json:"version"`
}

Jump to

Keyboard shortcuts

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