Documentation ¶
Index ¶
- type Client
- func (k *Client) CloseRelayer(ctx context.Context, relayID types.RelayID) error
- func (k *Client) Get(ctx context.Context, relayID types.RelayID) (core.Relayer, error)
- func (k *Client) List(ctx context.Context, relayIDs ...types.RelayID) (map[types.RelayID]core.Relayer, error)
- func (k *Client) NewPluginProvider(ctx context.Context, relayID types.RelayID, relayArgs core.RelayArgs, ...) (uint32, error)
- func (k *Client) RelayerHealthReport(ctx context.Context, relayID types.RelayID) (map[string]error, error)
- func (k *Client) RelayerName(ctx context.Context, relayID types.RelayID) (string, error)
- func (k *Client) RelayerReady(ctx context.Context, relayID types.RelayID) error
- func (k *Client) StartRelayer(ctx context.Context, relayID types.RelayID) error
- type Server
- func (s *Server) Close() error
- func (s *Server) CloseRelayer(ctx context.Context, relayID *relayerset.RelayerId) (*emptypb.Empty, error)
- func (s *Server) Get(ctx context.Context, req *relayerset.GetRelayerRequest) (*relayerset.GetRelayerResponse, error)
- func (s *Server) List(ctx context.Context, req *relayerset.ListAllRelayersRequest) (*relayerset.ListAllRelayersResponse, error)
- func (s *Server) NewPluginProvider(ctx context.Context, req *relayerset.NewPluginProviderRequest) (*relayerset.NewPluginProviderResponse, error)
- func (s *Server) RelayerHealthReport(ctx context.Context, relayID *relayerset.RelayerId) (*relayerset.RelayerHealthReportResponse, error)
- func (s *Server) RelayerName(ctx context.Context, relayID *relayerset.RelayerId) (*relayerset.RelayerNameResponse, error)
- func (s *Server) RelayerReady(ctx context.Context, relayID *relayerset.RelayerId) (*emptypb.Empty, error)
- func (s *Server) StartRelayer(ctx context.Context, relayID *relayerset.RelayerId) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *net.BrokerExt *goplugin.ServiceClient // contains filtered or unexported fields }
func NewRelayerSetClient ¶
func (*Client) CloseRelayer ¶
func (*Client) NewPluginProvider ¶
func (*Client) RelayerHealthReport ¶
func (*Client) RelayerName ¶
func (*Client) RelayerReady ¶
type Server ¶
type Server struct { relayerset.UnimplementedRelayerSetServer Name string // contains filtered or unexported fields }
func NewRelayerSetServer ¶
func (*Server) CloseRelayer ¶
func (*Server) Get ¶
func (s *Server) Get(ctx context.Context, req *relayerset.GetRelayerRequest) (*relayerset.GetRelayerResponse, error)
func (*Server) List ¶
func (s *Server) List(ctx context.Context, req *relayerset.ListAllRelayersRequest) (*relayerset.ListAllRelayersResponse, error)
func (*Server) NewPluginProvider ¶
func (s *Server) NewPluginProvider(ctx context.Context, req *relayerset.NewPluginProviderRequest) (*relayerset.NewPluginProviderResponse, error)
func (*Server) RelayerHealthReport ¶
func (s *Server) RelayerHealthReport(ctx context.Context, relayID *relayerset.RelayerId) (*relayerset.RelayerHealthReportResponse, error)
func (*Server) RelayerName ¶
func (s *Server) RelayerName(ctx context.Context, relayID *relayerset.RelayerId) (*relayerset.RelayerNameResponse, error)
func (*Server) RelayerReady ¶
func (*Server) StartRelayer ¶
Click to show internal directories.
Click to hide internal directories.