server

package
v1.0.2-0...-f83ea57 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRelay

func StartRelay(port string)

Types

type Server

type Server struct{}

func (*Server) DataRecieve

func (s *Server) DataRecieve(request *proto.RecieverRequest, stream proto.Arise_DataRecieveServer) error

func (*Server) DataSend

func (s *Server) DataSend(stream proto.Arise_DataSendServer) error

func (*Server) GetEncryptionKey

func (s *Server) GetEncryptionKey(ctx context.Context, request *proto.Code) (*proto.EncryptionKey, error)

func (*Server) GetPublicKey

func (s *Server) GetPublicKey(ctx context.Context, request *proto.Code) (*proto.PublicKey, error)

func (*Server) GetRecieverInfo

func (s *Server) GetRecieverInfo(ctx context.Context, request *proto.Code) (*proto.RecieverInfo, error)

func (*Server) GetSenderInfo

func (s *Server) GetSenderInfo(ctx context.Context, request *proto.Code) (*proto.SenderInfo, error)

func (*Server) Reciever

func (s *Server) Reciever(ctx context.Context, request *proto.RecieverRequest) (*proto.RecieverResponse, error)

func (*Server) Sender

func (s *Server) Sender(ctx context.Context, request *proto.SenderRequest) (*proto.SenderResponse, error)

func (*Server) ShareEncryptionKey

func (s *Server) ShareEncryptionKey(ctx context.Context, request *proto.EncryptionKey) (*proto.EncryptionKeyResponse, error)

func (*Server) SharePublicKey

func (s *Server) SharePublicKey(ctx context.Context, request *proto.PublicKey) (*proto.PublicKeyResponse, error)

Jump to

Keyboard shortcuts

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