specifications

package
v0.0.0-...-19835a7 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service(t *testing.T, adapter ServiceAdapter)

Types

type ServiceAdapter

type ServiceAdapter interface {
	Save(ctx context.Context, s service.Service) (id string, err error)
	Get(ctx context.Context, id string) (service service.Service, err error)
	GetEndpoints(ctx context.Context, id string) (endpoints []service.Endpoint, err error)
}

Jump to

Keyboard shortcuts

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