Documentation ¶
Index ¶
- type Server
- func (s *Server) ListSidechainProposals(ctx context.Context, c *connect.Request[pb.ListSidechainProposalsRequest]) (*connect.Response[pb.ListSidechainProposalsResponse], error)
- func (s *Server) ListSidechains(ctx context.Context, _ *connect.Request[pb.ListSidechainsRequest]) (*connect.Response[pb.ListSidechainsResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New( bitcoind *coreproxy.Bitcoind, enforcer validatorrpc.ValidatorServiceClient, ) *Server
New creates a new Server
func (*Server) ListSidechainProposals ¶
func (s *Server) ListSidechainProposals(ctx context.Context, c *connect.Request[pb.ListSidechainProposalsRequest]) (*connect.Response[pb.ListSidechainProposalsResponse], error)
ListSidechainProposals implements drivechainv1connect.DrivechainServiceHandler.
func (*Server) ListSidechains ¶
func (s *Server) ListSidechains(ctx context.Context, _ *connect.Request[pb.ListSidechainsRequest]) (*connect.Response[pb.ListSidechainsResponse], error)
ListSidechains implements drivechainv1connect.DrivechainServiceHandler.
Click to show internal directories.
Click to hide internal directories.