Documentation ¶
Overview ¶
Package storage provides the storage server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { v1.UnimplementedStorageQueryServiceServer // contains filtered or unexported fields }
Server is the webmesh storage server.
func NewServer ¶
func NewServer(ctx context.Context, storage storage.Provider, rbac rbac.Evaluator, mnet meshnet.Manager) *Server
NewServer returns a new storage Server.
func (*Server) Publish ¶
func (s *Server) Publish(ctx context.Context, req *v1.PublishRequest) (*v1.PublishResponse, error)
func (*Server) Query ¶
func (s *Server) Query(req *v1.QueryRequest, stream v1.StorageQueryService_QueryServer) error
func (*Server) Subscribe ¶
func (s *Server) Subscribe(req *v1.SubscribeRequest, srv v1.StorageQueryService_SubscribeServer) error
Click to show internal directories.
Click to hide internal directories.