Documentation ¶
Overview ¶
Code generated by atomix-go-framework. DO NOT EDIT.
Code generated by atomix-go-framework. DO NOT EDIT.
Index ¶
- func NewProxyServer(registry *ProxyRegistry, env env.DriverEnv) set.SetServiceServer
- type ProxyRegistry
- type ProxyServer
- func (s *ProxyServer) Add(ctx context.Context, request *set.AddRequest) (*set.AddResponse, error)
- func (s *ProxyServer) Clear(ctx context.Context, request *set.ClearRequest) (*set.ClearResponse, error)
- func (s *ProxyServer) Contains(ctx context.Context, request *set.ContainsRequest) (*set.ContainsResponse, error)
- func (s *ProxyServer) Elements(request *set.ElementsRequest, srv set.SetService_ElementsServer) error
- func (s *ProxyServer) Events(request *set.EventsRequest, srv set.SetService_EventsServer) error
- func (s *ProxyServer) Remove(ctx context.Context, request *set.RemoveRequest) (*set.RemoveResponse, error)
- func (s *ProxyServer) Size(ctx context.Context, request *set.SizeRequest) (*set.SizeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyServer ¶
func NewProxyServer(registry *ProxyRegistry, env env.DriverEnv) set.SetServiceServer
NewProxyServer creates a new ProxyServer
Types ¶
type ProxyRegistry ¶
type ProxyRegistry struct {
// contains filtered or unexported fields
}
func NewProxyRegistry ¶
func NewProxyRegistry() *ProxyRegistry
NewProxyRegistry creates a new ProxyRegistry
func (*ProxyRegistry) AddProxy ¶
func (r *ProxyRegistry) AddProxy(id primitiveapi.PrimitiveId, server set.SetServiceServer) error
func (*ProxyRegistry) GetProxy ¶
func (r *ProxyRegistry) GetProxy(id primitiveapi.PrimitiveId) (set.SetServiceServer, error)
func (*ProxyRegistry) RemoveProxy ¶
func (r *ProxyRegistry) RemoveProxy(id primitiveapi.PrimitiveId) error
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
func (*ProxyServer) Add ¶
func (s *ProxyServer) Add(ctx context.Context, request *set.AddRequest) (*set.AddResponse, error)
func (*ProxyServer) Clear ¶
func (s *ProxyServer) Clear(ctx context.Context, request *set.ClearRequest) (*set.ClearResponse, error)
func (*ProxyServer) Contains ¶
func (s *ProxyServer) Contains(ctx context.Context, request *set.ContainsRequest) (*set.ContainsResponse, error)
func (*ProxyServer) Elements ¶
func (s *ProxyServer) Elements(request *set.ElementsRequest, srv set.SetService_ElementsServer) error
func (*ProxyServer) Events ¶
func (s *ProxyServer) Events(request *set.EventsRequest, srv set.SetService_EventsServer) error
func (*ProxyServer) Remove ¶
func (s *ProxyServer) Remove(ctx context.Context, request *set.RemoveRequest) (*set.RemoveResponse, error)
func (*ProxyServer) Size ¶
func (s *ProxyServer) Size(ctx context.Context, request *set.SizeRequest) (*set.SizeResponse, error)
Click to show internal directories.
Click to hide internal directories.