aboutsummaryrefslogtreecommitdiff
path: root/goldap/struct_methods.go
diff options
context:
space:
mode:
Diffstat (limited to 'goldap/struct_methods.go')
-rw-r--r--goldap/struct_methods.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/goldap/struct_methods.go b/goldap/struct_methods.go
new file mode 100644
index 0000000..a43cb63
--- /dev/null
+++ b/goldap/struct_methods.go
@@ -0,0 +1,7 @@
+package message
+
+func NewLDAPMessageWithProtocolOp(po ProtocolOp) *LDAPMessage {
+ m := NewLDAPMessage()
+ m.protocolOp = po
+ return m
+}