gwarp

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

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 *warp.UnsignedMessage) ([]byte, error)

type Server

type Server struct {
	pb.UnsafeSignerServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(signer warp.Signer) *Server

func (*Server) Sign

func (s *Server) Sign(_ context.Context, unsignedMsg *pb.SignRequest) (*pb.SignResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL