Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalServer ¶
type LocalServer struct {
// contains filtered or unexported fields
}
LocalServer represents a local HTTP server
func NewLocalServer ¶
func NewLocalServer(tlsCAPath, tlsCertPath, tlsKeyPath, apiAddress, bindAddr string, l hclog.Logger) *LocalServer
NewLocalServer creates a new local HTTP server which can be used to expose gRPC server methods with JSON
func (*LocalServer) Close ¶
func (l *LocalServer) Close() error
Close all connections and shutdown the server
func (*LocalServer) Serve ¶
func (l *LocalServer) Serve() error
Serve starts serving traffic Does not block
Click to show internal directories.
Click to hide internal directories.