Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // From ./out/TestCA.crt. Also copy this file to ./testdata/caroot.crt TestCARootCertificate = `` /* 1752-byte string literal not displayed */ // From ./out/TestServer.crt. Also copy this file to ./testdata/testserver.crt. TestServerPublicCertificate = `` /* 1521-byte string literal not displayed */ // From ./out/TestServer.key. Also copy this file to ./testdata/testserver.key. TestServerPrivateKey = `` /* 1678-byte string literal not displayed */ // ServerName is encoded in the above certificates. ServerName = "127.0.0.1" ErrUnsupported = fmt.Errorf("unsupported method") )
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { InsecureMetricsPort int SecureMetricsPort int InsecureTracePort int SecureTracePort int // contains filtered or unexported fields }
func (*Server) MetricsMDs ¶
func (s *Server) MetricsMDs() []grpcMetadata.MD
func (*Server) MetricsRequests ¶
func (s *Server) MetricsRequests() []*metricService.ExportMetricsServiceRequest
func (*Server) TraceMDs ¶
func (s *Server) TraceMDs() []grpcMetadata.MD
func (*Server) TraceRequests ¶
func (s *Server) TraceRequests() []*traceService.ExportTraceServiceRequest
Click to show internal directories.
Click to hide internal directories.