| 1 | package sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ |
| 2 | |
| 3 | import ( |
| 4 | "encoding/jsonscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/" |
| 5 | "netscip-go gomod github.com/golang/go/src go1.16 net/" |
| 6 | "runtimescip-go gomod github.com/golang/go/src go1.16 runtime/" |
| 7 | "timescip-go gomod github.com/golang/go/src go1.16 time/" |
| 8 | |
| 9 | "github.com/bettercap/bettercap/capletsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/caplets`/" |
| 10 | "github.com/bettercap/bettercap/corescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/core`/" |
| 11 | "github.com/bettercap/bettercap/networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/" |
| 12 | "github.com/bettercap/bettercap/packetsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/packets`/" |
| 13 | ) |
| 14 | |
| 15 | var flagNamesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/flagNames. = []string{ |
| 16 | "UP", |
| 17 | "BROADCAST", |
| 18 | "LOOPBACK", |
| 19 | "POINT2POINT", |
| 20 | "MULTICAST", |
| 21 | } |
| 22 | |
| 23 | type addrJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON# struct { |
| 24 | Addressscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#Address. string `json:"address"` |
| 25 | Typescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#Type. string `json:"type"` |
| 26 | } |
| 27 | |
| 28 | type ifaceJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON# struct { |
| 29 | Indexscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Index. int `json:"index"` |
| 30 | MTUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#MTU. int `json:"mtu"` |
| 31 | Namescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Name. string `json:"name"` |
| 32 | MACscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#MAC. string `json:"mac"` |
| 33 | Vendorscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Vendor. string `json:"vendor"` |
| 34 | Flagsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Flags. []string `json:"flags"` |
| 35 | Addressesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Addresses. []addrJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON# `json:"addresses"` |
| 36 | } |
| 37 | |
| 38 | type resourcesJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON# struct { |
| 39 | NumCPUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumCPU. int `json:"cpus"` |
| 40 | MaxCPUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#MaxCPU. int `json:"max_cpus"` |
| 41 | NumGoroutinescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumGoroutine. int `json:"goroutines"` |
| 42 | Allocscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#Alloc. uint64 `json:"alloc"` |
| 43 | Sysscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#Sys. uint64 `json:"sys"` |
| 44 | NumGCscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumGC. uint32 `json:"gcs"` |
| 45 | } |
| 46 | |
| 47 | type SessionJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON# struct { |
| 48 | Versionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Version. string `json:"version"` |
| 49 | OSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#OS. string `json:"os"` |
| 50 | Archscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Arch. string `json:"arch"` |
| 51 | GoVersionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#GoVersion. string `json:"goversion"` |
| 52 | Resourcesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Resources. resourcesJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON# `json:"resources"` |
| 53 | Interfacesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interfaces. []ifaceJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON# `json:"interfaces"` |
| 54 | Optionsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Options. corescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/core`/.Optionsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/core`/Options# `json:"options"` |
| 55 | Interfacescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interface. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.Endpointscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/Endpoint# `json:"interface"` |
| 56 | Gatewayscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Gateway. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.Endpointscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/Endpoint# `json:"gateway"` |
| 57 | Envscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Env. *Environmentscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Environment# `json:"env"` |
| 58 | Lanscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Lan. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.LANscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/LAN# `json:"lan"` |
| 59 | WiFiscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#WiFi. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.WiFiscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/WiFi# `json:"wifi"` |
| 60 | BLEscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#BLE. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.BLEscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/BLE# `json:"ble"` |
| 61 | HIDscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#HID. *networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.HIDscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/HID# `json:"hid"` |
| 62 | Queuescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Queue. *packetsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/packets`/.Queuescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/packets`/Queue# `json:"packets"` |
| 63 | StartedAtscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#StartedAt. timescip-go gomod github.com/golang/go/src go1.16 time/.Timescip-go gomod github.com/golang/go/src go1.16 time/Time# `json:"started_at"` |
| 64 | PolledAtscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#PolledAt. timescip-go gomod github.com/golang/go/src go1.16 time/.Timescip-go gomod github.com/golang/go/src go1.16 time/Time# `json:"polled_at"` |
| 65 | Activescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Active. bool `json:"active"` |
| 66 | GPSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#GPS. GPSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/GPS# `json:"gps"` |
| 67 | Modulesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Modules. ModuleListscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ModuleList# `json:"modules"` |
| 68 | Capletsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Caplets. []*capletsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/caplets`/.Capletscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/caplets`/Caplet# `json:"caplets"` |
| 69 | } |
| 70 | |
| 71 | func (s *Sessionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#) MarshalJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#MarshalJSON().() ([]byte, error) { |
| 72 | var m runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.MemStatsscip-go gomod github.com/golang/go/src go1.16 runtime/MemStats# |
| 73 | |
| 74 | runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.ReadMemStatsscip-go gomod github.com/golang/go/src go1.16 runtime/ReadMemStats().(&m) |
| 75 | |
| 76 | doc := SessionJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#{ |
| 77 | Versionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Version.: corescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/core`/.Versionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/core`/Version., |
| 78 | OSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#OS.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.GOOSscip-go gomod github.com/golang/go/src go1.16 runtime/GOOS., |
| 79 | Archscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Arch.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.GOARCHscip-go gomod github.com/golang/go/src go1.16 runtime/GOARCH., |
| 80 | GoVersionscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#GoVersion.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.Versionscip-go gomod github.com/golang/go/src go1.16 runtime/Version().(), |
| 81 | Resourcesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Resources.: resourcesJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#{ |
| 82 | NumCPUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumCPU.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.NumCPUscip-go gomod github.com/golang/go/src go1.16 runtime/NumCPU().(), |
| 83 | MaxCPUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#MaxCPU.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.GOMAXPROCSscip-go gomod github.com/golang/go/src go1.16 runtime/GOMAXPROCS().(0), |
| 84 | NumGoroutinescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumGoroutine.: runtimescip-go gomod github.com/golang/go/src go1.16 runtime/.NumGoroutinescip-go gomod github.com/golang/go/src go1.16 runtime/NumGoroutine().(), |
| 85 | Allocscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#Alloc.: m.Allocscip-go gomod github.com/golang/go/src go1.16 runtime/MemStats#Alloc., |
| 86 | Sysscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#Sys.: m.Sysscip-go gomod github.com/golang/go/src go1.16 runtime/MemStats#Sys., |
| 87 | NumGCscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/resourcesJSON#NumGC.: m.NumGCscip-go gomod github.com/golang/go/src go1.16 runtime/MemStats#NumGC., |
| 88 | }, |
| 89 | Interfacesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interfaces.: make([]ifaceJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#, 0), |
| 90 | Optionsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Options.: s.Optionsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Options., |
| 91 | Interfacescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interface.: s.Interfacescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Interface., |
| 92 | Gatewayscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Gateway.: s.Gatewayscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Gateway., |
| 93 | Envscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Env.: s.Envscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Env., |
| 94 | Lanscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Lan.: s.Lanscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Lan., |
| 95 | WiFiscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#WiFi.: s.WiFiscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#WiFi., |
| 96 | BLEscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#BLE.: s.BLEscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#BLE., |
| 97 | HIDscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#HID.: s.HIDscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#HID., |
| 98 | Queuescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Queue.: s.Queuescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Queue., |
| 99 | StartedAtscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#StartedAt.: s.StartedAtscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#StartedAt., |
| 100 | PolledAtscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#PolledAt.: timescip-go gomod github.com/golang/go/src go1.16 time/.Nowscip-go gomod github.com/golang/go/src go1.16 time/Now().(), |
| 101 | Activescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Active.: s.Activescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Active., |
| 102 | GPSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#GPS.: s.GPSscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#GPS., |
| 103 | Modulesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Modules.: s.Modulesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/Session#Modules., |
| 104 | Capletsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Caplets.: capletsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/caplets`/.Listscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/caplets`/List().(), |
| 105 | } |
| 106 | |
| 107 | ifaces, err := netscip-go gomod github.com/golang/go/src go1.16 net/.Interfacesscip-go gomod github.com/golang/go/src go1.16 net/Interfaces().() |
| 108 | if err != nil { |
| 109 | return nil, err |
| 110 | } |
| 111 | |
| 112 | for _, iface := range ifaces { |
| 113 | mac := networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.NormalizeMacscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/NormalizeMac().(iface.HardwareAddrscip-go gomod github.com/golang/go/src go1.16 net/Interface#HardwareAddr..Stringscip-go gomod github.com/golang/go/src go1.16 net/HardwareAddr#String().()) |
| 114 | |
| 115 | ij := ifaceJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#{ |
| 116 | Indexscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Index.: iface.Indexscip-go gomod github.com/golang/go/src go1.16 net/Interface#Index., |
| 117 | MTUscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#MTU.: iface.MTUscip-go gomod github.com/golang/go/src go1.16 net/Interface#MTU., |
| 118 | Namescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Name.: iface.Namescip-go gomod github.com/golang/go/src go1.16 net/Interface#Name., |
| 119 | MACscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#MAC.: mac, |
| 120 | Vendorscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Vendor.: networkscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/.ManufLookupscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/network`/ManufLookup().(mac), |
| 121 | Flagsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Flags.: make([]string, 0), |
| 122 | Addressesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Addresses.: make([]addrJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#, 0), |
| 123 | } |
| 124 | |
| 125 | if addrs, err := iface.Addrsscip-go gomod github.com/golang/go/src go1.16 net/Interface#Addrs().(); err == nil { |
| 126 | for _, addr := range addrs { |
| 127 | ij.Addressesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Addresses. = append(ij.Addressesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Addresses., addrJSONscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#{ |
| 128 | Addressscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#Address.: addr.Stringscip-go gomod github.com/golang/go/src go1.16 net/Addr#String().(), |
| 129 | Typescip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/addrJSON#Type.: addr.Networkscip-go gomod github.com/golang/go/src go1.16 net/Addr#Network().(), |
| 130 | }) |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | for bit, name := range flagNamesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/flagNames. { |
| 135 | if iface.Flagsscip-go gomod github.com/golang/go/src go1.16 net/Interface#Flags.&(1<<uint(bit)) != 0 { |
| 136 | ij.Flagsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Flags. = append(ij.Flagsscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/ifaceJSON#Flags., name) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | doc.Interfacesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interfaces. = append(doc.Interfacesscip-go gomod github.com/bettercap/bettercap . `github.com/bettercap/bettercap/session`/SessionJSON#Interfaces., ij) |
| 141 | } |
| 142 | |
| 143 | return jsonscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/.Marshalscip-go gomod github.com/golang/go/src go1.16 `encoding/json`/Marshal().(doc) |
| 144 | } |