Documentation ¶
Overview ¶
Package null provides simple networkservice chain elements that do nothing by call next and returns what comes back. This can be very useful in testing or writing os specific code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient() networkservice.NetworkServiceClient
NewClient - returns a new null client that does nothing but call next.Client(ctx).{Request/Close} and return the result
This is very useful in testing
func NewServer ¶
func NewServer() networkservice.NetworkServiceServer
NewServer - returns a new null NetworkServiceServer that does nothing but call next.Server(ctx).{Request/Close}
and return the response
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.