This website works better with JavaScript.
Home
Explore
Help
Sign In
yigitcolakoglu
/
mconnect
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
protocol/packet: helper for creating identity packets
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
bboozzoo/golang
Maciek Borzecki
7 years ago
parent
ad36298f60
commit
c5923774f4
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
protocol/packet/identity.go
+ 4
- 0
protocol/packet/identity.go
View File
@ -36,3 +36,7 @@ func (p *Packet) AsIdentity() (*Identity, error) {
}
}
return
&
identity
,
nil
return
&
identity
,
nil
}
}
func
NewIdentity
(
identity
*
Identity
)
*
Packet
{
return
New
(
"kdeconnect.identity"
,
identity
)
}
Write
Preview
Loading…
Cancel
Save