server

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: LGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(ctx context.Context, wg *sync.WaitGroup, cfg config.TemporalConfig, logger *zap.SugaredLogger) error

RunServer is used to initialize and run our grpc payment server

Types

type Server

type Server struct {
	PS *signer.PaymentSigner
}

Server defines our server interface

func (*Server) GetSignedMessage

func (s *Server) GetSignedMessage(ctx context.Context, req *request.SignRequest) (*response.SignResponse, error)

GetSignedMessage allows the caller (client) to request a signed message

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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