server

package
v0.0.0-...-3fb4ec3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthStore

type AuthStore interface {
}

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) Open

func (s *Server) Open() error

Open GRPC Server and begin handling requests.

Jump to

Keyboard shortcuts

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