Commit 9905c16f authored by ligaishun's avatar ligaishun

新增Unlock()函数

parent 0cda645e
...@@ -48,4 +48,8 @@ func (p *PaiClient) Version()(*types.VersionInfo,error){ ...@@ -48,4 +48,8 @@ func (p *PaiClient) Version()(*types.VersionInfo,error){
func (p *PaiClient) Close() (*types.Reply,error) { func (p *PaiClient) Close() (*types.Reply,error) {
return paiClient.CloseQueue(context.Background(),&types.ReqNil{}) return paiClient.CloseQueue(context.Background(),&types.ReqNil{})
}
func (p *PaiClient) Unlock(lock *types.WalletUnLock)(*types.Reply,error){
return paiClient.UnLock(context.Background(),lock)
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment