Documentation ¶
Overview ¶
Code generated by atomix-go-framework. DO NOT EDIT.
Index ¶
- Constants
- func NewProxyServer(client *rsm.Client) counter.CounterServiceServer
- func Register(protocol *rsm.Protocol)
- type ProxyServer
- func (s *ProxyServer) Decrement(ctx context.Context, request *counter.DecrementRequest) (*counter.DecrementResponse, error)
- func (s *ProxyServer) Get(ctx context.Context, request *counter.GetRequest) (*counter.GetResponse, error)
- func (s *ProxyServer) Increment(ctx context.Context, request *counter.IncrementRequest) (*counter.IncrementResponse, error)
- func (s *ProxyServer) Set(ctx context.Context, request *counter.SetRequest) (*counter.SetResponse, error)
Constants ¶
View Source
const Type = "Counter"
Variables ¶
This section is empty.
Functions ¶
func NewProxyServer ¶
func NewProxyServer(client *rsm.Client) counter.CounterServiceServer
NewProxyServer creates a new ProxyServer
Types ¶
type ProxyServer ¶
func (*ProxyServer) Decrement ¶
func (s *ProxyServer) Decrement(ctx context.Context, request *counter.DecrementRequest) (*counter.DecrementResponse, error)
func (*ProxyServer) Get ¶
func (s *ProxyServer) Get(ctx context.Context, request *counter.GetRequest) (*counter.GetResponse, error)
func (*ProxyServer) Increment ¶
func (s *ProxyServer) Increment(ctx context.Context, request *counter.IncrementRequest) (*counter.IncrementResponse, error)
func (*ProxyServer) Set ¶
func (s *ProxyServer) Set(ctx context.Context, request *counter.SetRequest) (*counter.SetResponse, error)
Click to show internal directories.
Click to hide internal directories.