Documentation ¶
Overview ¶
Code generated by atomix-go-framework. DO NOT EDIT.
Index ¶
- Constants
- func NewProxyServer(client *rsm.Client, readSync bool) lock.LockServiceServer
- func Register(protocol *rsm.Protocol)
- type ProxyServer
- func (s *ProxyServer) GetLock(ctx context.Context, request *lock.GetLockRequest) (*lock.GetLockResponse, error)
- func (s *ProxyServer) Lock(ctx context.Context, request *lock.LockRequest) (*lock.LockResponse, error)
- func (s *ProxyServer) Unlock(ctx context.Context, request *lock.UnlockRequest) (*lock.UnlockResponse, error)
Constants ¶
View Source
const Type = "Lock"
Variables ¶
This section is empty.
Functions ¶
func NewProxyServer ¶
func NewProxyServer(client *rsm.Client, readSync bool) lock.LockServiceServer
NewProxyServer creates a new ProxyServer
Types ¶
type ProxyServer ¶
func (*ProxyServer) GetLock ¶
func (s *ProxyServer) GetLock(ctx context.Context, request *lock.GetLockRequest) (*lock.GetLockResponse, error)
func (*ProxyServer) Lock ¶
func (s *ProxyServer) Lock(ctx context.Context, request *lock.LockRequest) (*lock.LockResponse, error)
func (*ProxyServer) Unlock ¶
func (s *ProxyServer) Unlock(ctx context.Context, request *lock.UnlockRequest) (*lock.UnlockResponse, error)
Click to show internal directories.
Click to hide internal directories.