Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestServer ¶
type TestServer struct { Received chan interface{} // contains filtered or unexported fields }
func StartTestServer ¶
func StartTestServer(socket string, retval bool, contMac string) (s *TestServer, err error)
func (*TestServer) Add ¶
func (s *TestServer) Add(ctx context.Context, in *pb.AddRequest) (*pb.AddReply, error)
func (*TestServer) Del ¶
func (s *TestServer) Del(ctx context.Context, in *pb.DelRequest) (*pb.DelReply, error)
func (*TestServer) GracefulStop ¶
func (s *TestServer) GracefulStop()
func (*TestServer) SetResult ¶
func (s *TestServer) SetResult(r bool)
Click to show internal directories.
Click to hide internal directories.