mock

package
v0.0.0-...-d46a54d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// XroadDefaulURL is default path where x-road is usually served from security server
	XroadDefaulURL string = "/cgi-bin/consumer_proxy"
)

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(srv Service, eg *echo.Group)

RegisterRoutes registers mock routes with server

Types

type Service

type Service interface {
	// contains filtered or unexported methods
}

Service provides mock functionality

func NewService

func NewService(logger *zerolog.Logger, storage rule.StorageGetter) Service

NewService creates instance of mock service

Jump to

Keyboard shortcuts

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