Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, errWriter io.WriteCloser) error
Run runs the server according to server config read from the 'in' reader.
func RunInReferenceMode ¶
func RunInReferenceMode(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, errWriter io.WriteCloser, tracer *tracer.Tracer) error
RunInReferenceMode is just like Run except that it performs additional checks that only the conformance reference server runs. These checks do not work if the server is run as a server under test, only when run as a reference server.
Types ¶
type ConformanceRequest ¶
type ConformanceRequest interface { GetResponseHeaders() []*conformancev1.Header GetResponseTrailers() []*conformancev1.Header }
ConformanceRequest is a general interface for all conformance requests (UnaryRequest, ServerStreamRequest, etc.)
Click to show internal directories.
Click to hide internal directories.