gteleporter

package
v1.9.8-rc.10 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 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 *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)

Jump to

Keyboard shortcuts

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