Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Announcer ¶
type Announcer interface { // Started announcer server. Serve() error // Stop announcer server. Stop() error }
Announcer is the interface used for announce service.
type Option ¶
type Option func(s *announcer)
Option is a functional option for configuring the announcer.
func WithManagerClient ¶
func WithManagerClient(client managerclient.V1) Option
WithManagerClient sets the grpc client of manager.
Click to show internal directories.
Click to hide internal directories.