Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Port int BroadcastHandler func(context.Context, []byte) error broadcast_pb.UnimplementedBroadcastServer // contains filtered or unexported fields }
func (*Server) BroadcastTx ¶
func (s *Server) BroadcastTx(ctx context.Context, request *broadcast_pb.BroadcastRequest) (*broadcast_pb.BroadcastReply, error)
Click to show internal directories.
Click to hide internal directories.