lock

package
v0.10.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

Code generated by atomix-go-framework. DO NOT EDIT.

Index

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

func Register

func Register(protocol *rsm.Protocol)

Types

type ProxyServer

type ProxyServer struct {
	*rsm.Client
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL