-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmethods_enable.go
More file actions
37 lines (28 loc) · 857 Bytes
/
methods_enable.go
File metadata and controls
37 lines (28 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package mpost
import "github.com/hard-soft-ware/mpost/acceptor"
////////////////////////////////////
func (m *MethodsObj) GetEnableAcceptance() bool {
m.a.Log.Method("GetEnableAcceptance", nil)
return acceptor.Enable.Acceptance
}
func (m *MethodsObj) GetEnableBookmarks() bool {
m.a.Log.Method("GetEnableBookmarks", nil)
return acceptor.Enable.Bookmarks
}
func (m *MethodsObj) GetEnableNoPush() bool {
m.a.Log.Method("GetEnableNoPush", nil)
return acceptor.Enable.NoPush
}
//
func (m *MethodsObj) SetEnableAcceptance(v bool) {
m.a.Log.Method("SetEnableAcceptance", v)
acceptor.Enable.Acceptance = v
}
func (m *MethodsObj) SetEnableBookmarks(v bool) {
m.a.Log.Method("SetEnableBookmarks", v)
acceptor.Enable.Bookmarks = v
}
func (m *MethodsObj) SetEnableNoPush(v bool) {
m.a.Log.Method("SetEnableNoPush", v)
acceptor.Enable.NoPush = v
}