Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(client pb.SignerClient) *Client
func (*Client) Sign ¶
func (c *Client) Sign(unsignedMsg *teleporter.UnsignedMessage) ([]byte, error)
type Server ¶
type Server struct { pb.UnsafeSignerServer // contains filtered or unexported fields }
func NewServer ¶
func NewServer(signer teleporter.Signer) *Server
func (*Server) Sign ¶
func (s *Server) Sign(_ context.Context, unsignedMsg *pb.SignRequest) (*pb.SignResponse, error)
Click to show internal directories.
Click to hide internal directories.