Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { server.UnimplementedServerServer Signer ssh.Signer }
Server implements server.ServerServer and handles grpc requests
func (*Server) ListenAndServe ¶
ListenAndServe sets up a tcp socket listening on given <host>:<port> listenAddress
func (*Server) SignUserPublicKey ¶
func (s *Server) SignUserPublicKey(ctx context.Context, in *server.SignUserPublicKeyRequest) (*server.SignUserPublicKeyResponse, error)
SignUserPublicKey is part of the grpc server interface and processes incoming server.SignUserPublicKeyRequest objects TODO: instead of returning error create response object containing server.Error
Click to show internal directories.
Click to hide internal directories.