Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetworkServer ¶
type NetworkServer struct {
networkapi.UnimplementedNetworkServiceServer
}
NetworkServer implements NetworkService API.
func (*NetworkServer) Interfaces ¶
func (r *NetworkServer) Interfaces(ctx context.Context, in *empty.Empty) (reply *networkapi.InterfacesResponse, err error)
Interfaces returns the hosts network interfaces and addresses.
func (*NetworkServer) Register ¶
func (r *NetworkServer) Register(s *grpc.Server)
Register implements the factory.Registrator interface.
func (*NetworkServer) Routes ¶
func (r *NetworkServer) Routes(ctx context.Context, in *empty.Empty) (reply *networkapi.RoutesResponse, err error)
Routes returns the hosts routing table.
Click to show internal directories.
Click to hide internal directories.