Merge remote-tracking branch 'origin/main' into llb-byow
This commit is contained in:
commit
5d3facf561
56 files changed
+1455
-320
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package sessions
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
@@ -86,3 +87,15 @@ func WithRecursive(recurse bool) Option {
|
||||
o.withRecursive = true
|
||||
}
|
||||
}
|
||||
|
||||
func WithIncludeTerminated(inIncludeTerminated bool) Option {
|
||||
return func(o *options) {
|
||||
o.queryMap["include_terminated"] = fmt.Sprintf("%v", inIncludeTerminated)
|
||||
}
|
||||
}
|
||||
|
||||
func DefaultIncludeTerminated() Option {
|
||||
return func(o *options) {
|
||||
o.postMap["include_terminated"] = nil
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user