Documentation ¶
Index ¶
- func NewProxyServer(s valueapi.ValueServiceServer) valueapi.ValueServiceServer
- type ProxyServer
- func (s *ProxyServer) Events(request *valueapi.EventsRequest, server valueapi.ValueService_EventsServer) error
- func (s *ProxyServer) Get(ctx context.Context, request *valueapi.GetRequest) (*valueapi.GetResponse, error)
- func (s *ProxyServer) Set(ctx context.Context, request *valueapi.SetRequest) (*valueapi.SetResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyServer ¶
func NewProxyServer(s valueapi.ValueServiceServer) valueapi.ValueServiceServer
NewProxyServer creates a new read-only value server
Types ¶
type ProxyServer ¶
type ProxyServer struct {
// contains filtered or unexported fields
}
ProxyServer is a read-only value primitive server
func (*ProxyServer) Events ¶
func (s *ProxyServer) Events(request *valueapi.EventsRequest, server valueapi.ValueService_EventsServer) error
func (*ProxyServer) Get ¶
func (s *ProxyServer) Get(ctx context.Context, request *valueapi.GetRequest) (*valueapi.GetResponse, error)
func (*ProxyServer) Set ¶
func (s *ProxyServer) Set(ctx context.Context, request *valueapi.SetRequest) (*valueapi.SetResponse, error)
Click to show internal directories.
Click to hide internal directories.