Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // Network is the address that the Server will listen on. Network string // Certificate to use for listening. If nil, disable TLS. Certificate *tls.Certificate AuthStore AuthStore protocol.UnimplementedCertificateServiceServer // contains filtered or unexported fields }
Server handles all gRPC functionalities.
func (*Server) Close ¶
func (s *Server) Close()
Close server gracefully, making sure to finish current requests before returning.
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, req *protocol.CertificateCreateRequest) (*protocol.CertificateCreateReply, error)
Click to show internal directories.
Click to hide internal directories.