selector

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

func WithService

func WithService(service string) Option

func WithURL

func WithURL(url string) Option

type Options

type Options struct {
	Id      string
	Url     string
	Service string
}

type Selector

type Selector interface {
	Init(...Option) error
	Register(addr string, metadata interface{}) error
	Unregister() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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