Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoPeerForSvc = errors.New("failed to find any usable peer for service")
Functions ¶
func NewP2PClientAdvertiser ¶
func NewP2PClientAdvertiser( cfg config.Config, d discovery.Discovery, tm *taskmanager.TaskManager, ) error
Types ¶
type ClientSvc ¶
type ClientSvc interface {
Get(context.Context, string, ...grpc.DialOption) (*grpc.ClientConn, error)
}
func NewP2PClientService ¶
func NewStaticClientService ¶
Click to show internal directories.
Click to hide internal directories.