simulator

package
v0.36.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Modules map[string]module
	URL     *url.URL
}

Handler implements the Cluster Modules API simulator

func New

func New(u *url.URL) *Handler

New creates a Handler instance

func (*Handler) Register

func (h *Handler) Register(s *simulator.Service, r *simulator.Registry)

Register Cluster Modules API paths with the vapi simulator's http.ServeMux

Jump to

Keyboard shortcuts

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