Documentation ¶
Index ¶
- func StartRelay(port string)
- type Server
- func (s *Server) DataRecieve(request *proto.RecieverRequest, stream proto.Arise_DataRecieveServer) error
- func (s *Server) DataSend(stream proto.Arise_DataSendServer) error
- func (s *Server) GetEncryptionKey(ctx context.Context, request *proto.Code) (*proto.EncryptionKey, error)
- func (s *Server) GetPublicKey(ctx context.Context, request *proto.Code) (*proto.PublicKey, error)
- func (s *Server) GetRecieverInfo(ctx context.Context, request *proto.Code) (*proto.RecieverInfo, error)
- func (s *Server) GetSenderInfo(ctx context.Context, request *proto.Code) (*proto.SenderInfo, error)
- func (s *Server) Reciever(ctx context.Context, request *proto.RecieverRequest) (*proto.RecieverResponse, error)
- func (s *Server) Sender(ctx context.Context, request *proto.SenderRequest) (*proto.SenderResponse, error)
- func (s *Server) ShareEncryptionKey(ctx context.Context, request *proto.EncryptionKey) (*proto.EncryptionKeyResponse, error)
- func (s *Server) SharePublicKey(ctx context.Context, request *proto.PublicKey) (*proto.PublicKeyResponse, error)
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) GetEncryptionKey ¶
func (*Server) GetPublicKey ¶
func (*Server) GetRecieverInfo ¶
func (*Server) GetSenderInfo ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.