Documentation ¶
Index ¶
- type RPCServer
- func (s *RPCServer) ChangeStatus(ctx context.Context, in *pb.StatusRequest) (*pb.StatusReply, error)
- func (s *RPCServer) Invalid(srv pb.Maintainer_InvalidServer) error
- func (s *RPCServer) Query(ctx context.Context, in *pb.QueryRequest) (*pb.QueryReply, error)
- func (s *RPCServer) Register(ctx context.Context, in *pb.RegisterRequest) (*pb.RegisterReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
RPCServer implement Tx-Server
func (*RPCServer) ChangeStatus ¶
func (s *RPCServer) ChangeStatus(ctx context.Context, in *pb.StatusRequest) (*pb.StatusReply, error)
ChangeStatus will change ownership
func (*RPCServer) Invalid ¶
func (s *RPCServer) Invalid(srv pb.Maintainer_InvalidServer) error
Invalid stream will return the invalid key for your onw host
func (*RPCServer) Query ¶
func (s *RPCServer) Query(ctx context.Context, in *pb.QueryRequest) (*pb.QueryReply, error)
Query state and storage
func (*RPCServer) Register ¶
func (s *RPCServer) Register(ctx context.Context, in *pb.RegisterRequest) (*pb.RegisterReply, error)
Register will store name and host
Click to show internal directories.
Click to hide internal directories.