distribution

package
v1.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNext continue next router
	ErrNext = fmt.Errorf("continue next router")
)

Functions

func All

func All(c echo.Context) error

All handles the all request

func RegisterRouterFactory

func RegisterRouterFactory(factory Factory, index int) error

RegisterRouterFactory registers a new router factory

Types

type Factory

type Factory interface {
	Initialize(ctx echo.Context) error
}

Factory is the interface for the storage router factory

type Item

type Item struct {
	Key   int
	Value Factory
}

Directories

Path Synopsis
clients package contains the clients for the distribution service
clients package contains the clients for the distribution service
mocks
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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