Update dependencies / vendor (#1146)
parent
ba0bfe70a8
commit
393f9e998b
@ -1,5 +1,12 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
[*.go]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
@ -0,0 +1 @@
|
||||
go.sum linguist-generated
|
@ -0,0 +1,5 @@
|
||||
module github.com/fsnotify/fsnotify
|
||||
|
||||
go 1.13
|
||||
|
||||
require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9
|
@ -0,0 +1,2 @@
|
||||
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0=
|
||||
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
@ -1,2 +0,0 @@
|
||||
github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q=
|
||||
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
|
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/chat1/blocking.avdl
|
||||
|
||||
package chat1
|
||||
|
@ -0,0 +1,374 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/chat1/emoji.avdl
|
||||
|
||||
package chat1
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
gregor1 "github.com/keybase/go-keybase-chat-bot/kbchat/types/gregor1"
|
||||
)
|
||||
|
||||
type EmojiLoadSourceTyp int
|
||||
|
||||
const (
|
||||
EmojiLoadSourceTyp_HTTPSRV EmojiLoadSourceTyp = 0
|
||||
EmojiLoadSourceTyp_STR EmojiLoadSourceTyp = 1
|
||||
)
|
||||
|
||||
func (o EmojiLoadSourceTyp) DeepCopy() EmojiLoadSourceTyp { return o }
|
||||
|
||||
var EmojiLoadSourceTypMap = map[string]EmojiLoadSourceTyp{
|
||||
"HTTPSRV": 0,
|
||||
"STR": 1,
|
||||
}
|
||||
|
||||
var EmojiLoadSourceTypRevMap = map[EmojiLoadSourceTyp]string{
|
||||
0: "HTTPSRV",
|
||||
1: "STR",
|
||||
}
|
||||
|
||||
func (e EmojiLoadSourceTyp) String() string {
|
||||
if v, ok := EmojiLoadSourceTypRevMap[e]; ok {
|
||||
return v
|
||||
}
|
||||
return fmt.Sprintf("%v", int(e))
|
||||
}
|
||||
|
||||
type EmojiLoadSource struct {
|
||||
Typ__ EmojiLoadSourceTyp `codec:"typ" json:"typ"`
|
||||
Httpsrv__ *string `codec:"httpsrv,omitempty" json:"httpsrv,omitempty"`
|
||||
Str__ *string `codec:"str,omitempty" json:"str,omitempty"`
|
||||
}
|
||||
|
||||
func (o *EmojiLoadSource) Typ() (ret EmojiLoadSourceTyp, err error) {
|
||||
switch o.Typ__ {
|
||||
case EmojiLoadSourceTyp_HTTPSRV:
|
||||
if o.Httpsrv__ == nil {
|
||||
err = errors.New("unexpected nil value for Httpsrv__")
|
||||
return ret, err
|
||||
}
|
||||
case EmojiLoadSourceTyp_STR:
|
||||
if o.Str__ == nil {
|
||||
err = errors.New("unexpected nil value for Str__")
|
||||
return ret, err
|
||||
}
|
||||
}
|
||||
return o.Typ__, nil
|
||||
}
|
||||
|
||||
func (o EmojiLoadSource) Httpsrv() (res string) {
|
||||
if o.Typ__ != EmojiLoadSourceTyp_HTTPSRV {
|
||||
panic("wrong case accessed")
|
||||
}
|
||||
if o.Httpsrv__ == nil {
|
||||
return
|
||||
}
|
||||
return *o.Httpsrv__
|
||||
}
|
||||
|
||||
func (o EmojiLoadSource) Str() (res string) {
|
||||
if o.Typ__ != EmojiLoadSourceTyp_STR {
|
||||
panic("wrong case accessed")
|
||||
}
|
||||
if o.Str__ == nil {
|
||||
return
|
||||
}
|
||||
return *o.Str__
|
||||
}
|
||||
|
||||
func NewEmojiLoadSourceWithHttpsrv(v string) EmojiLoadSource {
|
||||
return EmojiLoadSource{
|
||||
Typ__: EmojiLoadSourceTyp_HTTPSRV,
|
||||
Httpsrv__: &v,
|
||||
}
|
||||
}
|
||||
|
||||
func NewEmojiLoadSourceWithStr(v string) EmojiLoadSource {
|
||||
return EmojiLoadSource{
|
||||
Typ__: EmojiLoadSourceTyp_STR,
|
||||
Str__: &v,
|
||||
}
|
||||
}
|
||||
|
||||
func (o EmojiLoadSource) DeepCopy() EmojiLoadSource {
|
||||
return EmojiLoadSource{
|
||||
Typ__: o.Typ__.DeepCopy(),
|
||||
Httpsrv__: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.Httpsrv__),
|
||||
Str__: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.Str__),
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiRemoteSourceTyp int
|
||||
|
||||
const (
|
||||
EmojiRemoteSourceTyp_MESSAGE EmojiRemoteSourceTyp = 0
|
||||
EmojiRemoteSourceTyp_STOCKALIAS EmojiRemoteSourceTyp = 1
|
||||
)
|
||||
|
||||
func (o EmojiRemoteSourceTyp) DeepCopy() EmojiRemoteSourceTyp { return o }
|
||||
|
||||
var EmojiRemoteSourceTypMap = map[string]EmojiRemoteSourceTyp{
|
||||
"MESSAGE": 0,
|
||||
"STOCKALIAS": 1,
|
||||
}
|
||||
|
||||
var EmojiRemoteSourceTypRevMap = map[EmojiRemoteSourceTyp]string{
|
||||
0: "MESSAGE",
|
||||
1: "STOCKALIAS",
|
||||
}
|
||||
|
||||
func (e EmojiRemoteSourceTyp) String() string {
|
||||
if v, ok := EmojiRemoteSourceTypRevMap[e]; ok {
|
||||
return v
|
||||
}
|
||||
return fmt.Sprintf("%v", int(e))
|
||||
}
|
||||
|
||||
type EmojiMessage struct {
|
||||
ConvID ConversationID `codec:"convID" json:"convID"`
|
||||
MsgID MessageID `codec:"msgID" json:"msgID"`
|
||||
IsAlias bool `codec:"isAlias" json:"isAlias"`
|
||||
}
|
||||
|
||||
func (o EmojiMessage) DeepCopy() EmojiMessage {
|
||||
return EmojiMessage{
|
||||
ConvID: o.ConvID.DeepCopy(),
|
||||
MsgID: o.MsgID.DeepCopy(),
|
||||
IsAlias: o.IsAlias,
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiStockAlias struct {
|
||||
Text string `codec:"text" json:"text"`
|
||||
Username string `codec:"username" json:"username"`
|
||||
Time gregor1.Time `codec:"time" json:"time"`
|
||||
}
|
||||
|
||||
func (o EmojiStockAlias) DeepCopy() EmojiStockAlias {
|
||||
return EmojiStockAlias{
|
||||
Text: o.Text,
|
||||
Username: o.Username,
|
||||
Time: o.Time.DeepCopy(),
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiRemoteSource struct {
|
||||
Typ__ EmojiRemoteSourceTyp `codec:"typ" json:"typ"`
|
||||
Message__ *EmojiMessage `codec:"message,omitempty" json:"message,omitempty"`
|
||||
Stockalias__ *EmojiStockAlias `codec:"stockalias,omitempty" json:"stockalias,omitempty"`
|
||||
}
|
||||
|
||||
func (o *EmojiRemoteSource) Typ() (ret EmojiRemoteSourceTyp, err error) {
|
||||
switch o.Typ__ {
|
||||
case EmojiRemoteSourceTyp_MESSAGE:
|
||||
if o.Message__ == nil {
|
||||
err = errors.New("unexpected nil value for Message__")
|
||||
return ret, err
|
||||
}
|
||||
case EmojiRemoteSourceTyp_STOCKALIAS:
|
||||
if o.Stockalias__ == nil {
|
||||
err = errors.New("unexpected nil value for Stockalias__")
|
||||
return ret, err
|
||||
}
|
||||
}
|
||||
return o.Typ__, nil
|
||||
}
|
||||
|
||||
func (o EmojiRemoteSource) Message() (res EmojiMessage) {
|
||||
if o.Typ__ != EmojiRemoteSourceTyp_MESSAGE {
|
||||
panic("wrong case accessed")
|
||||
}
|
||||
if o.Message__ == nil {
|
||||
return
|
||||
}
|
||||
return *o.Message__
|
||||
}
|
||||
|
||||
func (o EmojiRemoteSource) Stockalias() (res EmojiStockAlias) {
|
||||
if o.Typ__ != EmojiRemoteSourceTyp_STOCKALIAS {
|
||||
panic("wrong case accessed")
|
||||
}
|
||||
if o.Stockalias__ == nil {
|
||||
return
|
||||
}
|
||||
return *o.Stockalias__
|
||||
}
|
||||
|
||||
func NewEmojiRemoteSourceWithMessage(v EmojiMessage) EmojiRemoteSource {
|
||||
return EmojiRemoteSource{
|
||||
Typ__: EmojiRemoteSourceTyp_MESSAGE,
|
||||
Message__: &v,
|
||||
}
|
||||
}
|
||||
|
||||
func NewEmojiRemoteSourceWithStockalias(v EmojiStockAlias) EmojiRemoteSource {
|
||||
return EmojiRemoteSource{
|
||||
Typ__: EmojiRemoteSourceTyp_STOCKALIAS,
|
||||
Stockalias__: &v,
|
||||
}
|
||||
}
|
||||
|
||||
func (o EmojiRemoteSource) DeepCopy() EmojiRemoteSource {
|
||||
return EmojiRemoteSource{
|
||||
Typ__: o.Typ__.DeepCopy(),
|
||||
Message__: (func(x *EmojiMessage) *EmojiMessage {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x).DeepCopy()
|
||||
return &tmp
|
||||
})(o.Message__),
|
||||
Stockalias__: (func(x *EmojiStockAlias) *EmojiStockAlias {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x).DeepCopy()
|
||||
return &tmp
|
||||
})(o.Stockalias__),
|
||||
}
|
||||
}
|
||||
|
||||
type HarvestedEmoji struct {
|
||||
Alias string `codec:"alias" json:"alias"`
|
||||
IsBig bool `codec:"isBig" json:"isBig"`
|
||||
IsCrossTeam bool `codec:"isCrossTeam" json:"isCrossTeam"`
|
||||
Source EmojiRemoteSource `codec:"source" json:"source"`
|
||||
}
|
||||
|
||||
func (o HarvestedEmoji) DeepCopy() HarvestedEmoji {
|
||||
return HarvestedEmoji{
|
||||
Alias: o.Alias,
|
||||
IsBig: o.IsBig,
|
||||
IsCrossTeam: o.IsCrossTeam,
|
||||
Source: o.Source.DeepCopy(),
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiCreationInfo struct {
|
||||
Username string `codec:"username" json:"username"`
|
||||
Time gregor1.Time `codec:"time" json:"time"`
|
||||
}
|
||||
|
||||
func (o EmojiCreationInfo) DeepCopy() EmojiCreationInfo {
|
||||
return EmojiCreationInfo{
|
||||
Username: o.Username,
|
||||
Time: o.Time.DeepCopy(),
|
||||
}
|
||||
}
|
||||
|
||||
type Emoji struct {
|
||||
Alias string `codec:"alias" json:"alias"`
|
||||
IsBig bool `codec:"isBig" json:"isBig"`
|
||||
IsReacji bool `codec:"isReacji" json:"isReacji"`
|
||||
IsCrossTeam bool `codec:"isCrossTeam" json:"isCrossTeam"`
|
||||
IsAlias bool `codec:"isAlias" json:"isAlias"`
|
||||
Source EmojiLoadSource `codec:"source" json:"source"`
|
||||
NoAnimSource EmojiLoadSource `codec:"noAnimSource" json:"noAnimSource"`
|
||||
RemoteSource EmojiRemoteSource `codec:"remoteSource" json:"remoteSource"`
|
||||
CreationInfo *EmojiCreationInfo `codec:"creationInfo,omitempty" json:"creationInfo,omitempty"`
|
||||
Teamname *string `codec:"teamname,omitempty" json:"teamname,omitempty"`
|
||||
}
|
||||
|
||||
func (o Emoji) DeepCopy() Emoji {
|
||||
return Emoji{
|
||||
Alias: o.Alias,
|
||||
IsBig: o.IsBig,
|
||||
IsReacji: o.IsReacji,
|
||||
IsCrossTeam: o.IsCrossTeam,
|
||||
IsAlias: o.IsAlias,
|
||||
Source: o.Source.DeepCopy(),
|
||||
NoAnimSource: o.NoAnimSource.DeepCopy(),
|
||||
RemoteSource: o.RemoteSource.DeepCopy(),
|
||||
CreationInfo: (func(x *EmojiCreationInfo) *EmojiCreationInfo {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x).DeepCopy()
|
||||
return &tmp
|
||||
})(o.CreationInfo),
|
||||
Teamname: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.Teamname),
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiGroup struct {
|
||||
Name string `codec:"name" json:"name"`
|
||||
Emojis []Emoji `codec:"emojis" json:"emojis"`
|
||||
}
|
||||
|
||||
func (o EmojiGroup) DeepCopy() EmojiGroup {
|
||||
return EmojiGroup{
|
||||
Name: o.Name,
|
||||
Emojis: (func(x []Emoji) []Emoji {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
ret := make([]Emoji, len(x))
|
||||
for i, v := range x {
|
||||
vCopy := v.DeepCopy()
|
||||
ret[i] = vCopy
|
||||
}
|
||||
return ret
|
||||
})(o.Emojis),
|
||||
}
|
||||
}
|
||||
|
||||
type UserEmojis struct {
|
||||
Emojis []EmojiGroup `codec:"emojis" json:"emojis"`
|
||||
}
|
||||
|
||||
func (o UserEmojis) DeepCopy() UserEmojis {
|
||||
return UserEmojis{
|
||||
Emojis: (func(x []EmojiGroup) []EmojiGroup {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
ret := make([]EmojiGroup, len(x))
|
||||
for i, v := range x {
|
||||
vCopy := v.DeepCopy()
|
||||
ret[i] = vCopy
|
||||
}
|
||||
return ret
|
||||
})(o.Emojis),
|
||||
}
|
||||
}
|
||||
|
||||
type EmojiStorage struct {
|
||||
Mapping map[string]EmojiRemoteSource `codec:"mapping" json:"mapping"`
|
||||
}
|
||||
|
||||
func (o EmojiStorage) DeepCopy() EmojiStorage {
|
||||
return EmojiStorage{
|
||||
Mapping: (func(x map[string]EmojiRemoteSource) map[string]EmojiRemoteSource {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
ret := make(map[string]EmojiRemoteSource, len(x))
|
||||
for k, v := range x {
|
||||
kCopy := k
|
||||
vCopy := v.DeepCopy()
|
||||
ret[kCopy] = vCopy
|
||||
}
|
||||
return ret
|
||||
})(o.Mapping),
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/gregor1/auth_internal.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/gregor1/auth_internal.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/gregor1/auth_internal.avdl
|
||||
|
||||
package gregor1
|
||||
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/gregor1/auth_update.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/gregor1/auth_update.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/gregor1/auth_update.avdl
|
||||
|
||||
package gregor1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/gregor1/outgoing.avdl
|
||||
|
||||
package gregor1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/gregor1/remind.avdl
|
||||
|
||||
package gregor1
|
||||
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/apiserver.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/apiserver.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/appstate.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/appstate.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/badger.avdl
|
||||
|
||||
package keybase1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/btc.avdl
|
||||
|
||||
package keybase1
|
||||
|
145
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/common.go
generated
vendored
145
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/common.go
generated
vendored
306
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/constants.go
generated
vendored
306
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/constants.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/contacts.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/contacts.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/debugging.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/debugging.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/delegate_ui_ctl.avdl
|
||||
|
||||
package keybase1
|
||||
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/ephemeral.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/ephemeral.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/favorite.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/favorite.go
generated
vendored
28
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/featured_bot.go
generated
vendored
28
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/featured_bot.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/gpg_common.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/gpg_common.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/gregor.avdl
|
||||
|
||||
package keybase1
|
||||
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/gregor_ui.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/gregor_ui.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/home_ui.avdl
|
||||
|
||||
package keybase1
|
||||
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify3.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify3.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/identify3.avdl
|
||||
|
||||
package keybase1
|
||||
|
68
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify3_ui.go
generated
vendored
68
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify3_ui.go
generated
vendored
52
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify_ui.go
generated
vendored
52
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/identify_ui.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/implicit_team_migration.avdl
|
||||
|
||||
package keybase1
|
||||
|
98
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/incoming-share.go
generated
vendored
98
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/incoming-share.go
generated
vendored
@ -0,0 +1,98 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/incoming-share.avdl
|
||||
|
||||
package keybase1
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
type IncomingShareType int
|
||||
|
||||
const (
|
||||
IncomingShareType_FILE IncomingShareType = 0
|
||||
IncomingShareType_TEXT IncomingShareType = 1
|
||||
IncomingShareType_IMAGE IncomingShareType = 2
|
||||
IncomingShareType_VIDEO IncomingShareType = 3
|
||||
)
|
||||
|
||||
func (o IncomingShareType) DeepCopy() IncomingShareType { return o }
|
||||
|
||||
var IncomingShareTypeMap = map[string]IncomingShareType{
|
||||
"FILE": 0,
|
||||
"TEXT": 1,
|
||||
"IMAGE": 2,
|
||||
"VIDEO": 3,
|
||||
}
|
||||
|
||||
var IncomingShareTypeRevMap = map[IncomingShareType]string{
|
||||
0: "FILE",
|
||||
1: "TEXT",
|
||||
2: "IMAGE",
|
||||
3: "VIDEO",
|
||||
}
|
||||
|
||||
func (e IncomingShareType) String() string {
|
||||
if v, ok := IncomingShareTypeRevMap[e]; ok {
|
||||
return v
|
||||
}
|
||||
return fmt.Sprintf("%v", int(e))
|
||||
}
|
||||
|
||||
type IncomingShareItem struct {
|
||||
Type IncomingShareType `codec:"type" json:"type"`
|
||||
OriginalPath *string `codec:"originalPath,omitempty" json:"originalPath,omitempty"`
|
||||
OriginalSize *int `codec:"originalSize,omitempty" json:"originalSize,omitempty"`
|
||||
ScaledPath *string `codec:"scaledPath,omitempty" json:"scaledPath,omitempty"`
|
||||
ScaledSize *int `codec:"scaledSize,omitempty" json:"scaledSize,omitempty"`
|
||||
ThumbnailPath *string `codec:"thumbnailPath,omitempty" json:"thumbnailPath,omitempty"`
|
||||
Content *string `codec:"content,omitempty" json:"content,omitempty"`
|
||||
}
|
||||
|
||||
func (o IncomingShareItem) DeepCopy() IncomingShareItem {
|
||||
return IncomingShareItem{
|
||||
Type: o.Type.DeepCopy(),
|
||||
OriginalPath: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.OriginalPath),
|
||||
OriginalSize: (func(x *int) *int {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.OriginalSize),
|
||||
ScaledPath: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.ScaledPath),
|
||||
ScaledSize: (func(x *int) *int {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.ScaledSize),
|
||||
ThumbnailPath: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.ThumbnailPath),
|
||||
Content: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.Content),
|
||||
}
|
||||
}
|
56
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/invite_friends.go
generated
vendored
56
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/invite_friends.go
generated
vendored
@ -0,0 +1,56 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/invite_friends.avdl
|
||||
|
||||
package keybase1
|
||||
|
||||
type InviteCounts struct {
|
||||
InviteCount int `codec:"inviteCount" json:"inviteCount"`
|
||||
PercentageChange float64 `codec:"percentageChange" json:"percentageChange"`
|
||||
ShowNumInvites bool `codec:"showNumInvites" json:"showNumInvites"`
|
||||
ShowFire bool `codec:"showFire" json:"showFire"`
|
||||
TooltipMarkdown string `codec:"tooltipMarkdown" json:"tooltipMarkdown"`
|
||||
}
|
||||
|
||||
func (o InviteCounts) DeepCopy() InviteCounts {
|
||||
return InviteCounts{
|
||||
InviteCount: o.InviteCount,
|
||||
PercentageChange: o.PercentageChange,
|
||||
ShowNumInvites: o.ShowNumInvites,
|
||||
ShowFire: o.ShowFire,
|
||||
TooltipMarkdown: o.TooltipMarkdown,
|
||||
}
|
||||
}
|
||||
|
||||
type EmailInvites struct {
|
||||
CommaSeparatedEmailsFromUser *string `codec:"commaSeparatedEmailsFromUser,omitempty" json:"commaSeparatedEmailsFromUser,omitempty"`
|
||||
EmailsFromContacts *[]EmailAddress `codec:"emailsFromContacts,omitempty" json:"emailsFromContacts,omitempty"`
|
||||
}
|
||||
|
||||
func (o EmailInvites) DeepCopy() EmailInvites {
|
||||
return EmailInvites{
|
||||
CommaSeparatedEmailsFromUser: (func(x *string) *string {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (*x)
|
||||
return &tmp
|
||||
})(o.CommaSeparatedEmailsFromUser),
|
||||
EmailsFromContacts: (func(x *[]EmailAddress) *[]EmailAddress {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
tmp := (func(x []EmailAddress) []EmailAddress {
|
||||
if x == nil {
|
||||
return nil
|
||||
}
|
||||
ret := make([]EmailAddress, len(x))
|
||||
for i, v := range x {
|
||||
vCopy := v.DeepCopy()
|
||||
ret[i] = vCopy
|
||||
}
|
||||
return ret
|
||||
})((*x))
|
||||
return &tmp
|
||||
})(o.EmailsFromContacts),
|
||||
}
|
||||
}
|
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfs_common.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfs_common.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfs_git.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfs_git.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfsmount.go
generated
vendored
2
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kbfsmount.go
generated
vendored
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/kbfsmount.avdl
|
||||
|
||||
package keybase1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Auto-generated to Go types using avdl-compiler v1.4.8 (https://github.com/keybase/node-avdl-compiler)
|
||||
// Input file: ../client/protocol/avdl/keybase1/kex2provisioner.avdl
|
||||
|
||||
package keybase1
|
||||
|
28
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kvstore.go
generated
vendored
28
vendor/github.com/keybase/go-keybase-chat-bot/kbchat/types/keybase1/kvstore.go
generated
vendored
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue