Documentation ¶
Index ¶
- Constants
- func Version() string
- type Server
- func (s *Server) ConfirmAddress(ctx context.Context, in *protocol.Address) (out *protocol.AddressConfirmation, err error)
- func (s *Server) KeyExchange(ctx context.Context, in *protocol.SigningKey) (out *protocol.SigningKey, err error)
- func (s *Server) Serve() (err error)
- func (s *Server) Shutdown() (err error)
- func (s *Server) Status(ctx context.Context, in *protocol.HealthCheck) (out *protocol.ServiceState, err error)
- func (s *Server) Transfer(ctx context.Context, in *protocol.SecureEnvelope) (out *protocol.SecureEnvelope, err error)
- func (s *Server) TransferStream(stream protocol.TRISANetwork_TransferStreamServer) (err error)
Constants ¶
View Source
const ( VersionMajor = 1 VersionMinor = 0 VersionPatch = 0 VersionReleaseLevel = "" VersionReleaseNumber = 0 )
Version component constants for the current build.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct { protocol.UnimplementedTRISANetworkServer protocol.UnimplementedTRISAHealthServer // contains filtered or unexported fields }
Server implements the TRISAIntegration and TRISAHealth Services
func New ¶
New creates a new Rotational TRISA Server with the specified configuration and prepares it to listen for and respond to gRPC requests on the TRISA network.
func (*Server) ConfirmAddress ¶
func (*Server) KeyExchange ¶
func (s *Server) KeyExchange(ctx context.Context, in *protocol.SigningKey) (out *protocol.SigningKey, err error)
func (*Server) Status ¶
func (s *Server) Status(ctx context.Context, in *protocol.HealthCheck) (out *protocol.ServiceState, err error)
func (*Server) Transfer ¶
func (s *Server) Transfer(ctx context.Context, in *protocol.SecureEnvelope) (out *protocol.SecureEnvelope, err error)
func (*Server) TransferStream ¶
func (s *Server) TransferStream(stream protocol.TRISANetwork_TransferStreamServer) (err error)
Click to show internal directories.
Click to hide internal directories.