Update dependencies

This commit is contained in:
Tobie Morgan Hitchcock 2019-11-28 17:34:49 +00:00
parent a980bdac6b
commit 24c11f97f6
4 changed files with 919 additions and 923 deletions

View file

@ -11,23 +11,23 @@ import (
const (
// ----- content types ----
codecSelferCcUTF88369 = 1
codecSelferCcRAW8369 = 255
codecSelferCcUTF88981 = 1
codecSelferCcRAW8981 = 255
// ----- value types used ----
codecSelferValueTypeArray8369 = 10
codecSelferValueTypeMap8369 = 9
codecSelferValueTypeString8369 = 6
codecSelferValueTypeInt8369 = 2
codecSelferValueTypeUint8369 = 3
codecSelferValueTypeFloat8369 = 4
codecSelferBitsize8369 = uint8(32 << (^uint(0) >> 63))
codecSelferValueTypeArray8981 = 10
codecSelferValueTypeMap8981 = 9
codecSelferValueTypeString8981 = 6
codecSelferValueTypeInt8981 = 2
codecSelferValueTypeUint8981 = 3
codecSelferValueTypeFloat8981 = 4
codecSelferBitsize8981 = uint8(32 << (^uint(0) >> 63))
)
var (
errCodecSelferOnlyMapOrArrayEncodeToStruct8369 = errors.New(`only encoded map or array can be decoded into a struct`)
errCodecSelferOnlyMapOrArrayEncodeToStruct8981 = errors.New(`only encoded map or array can be decoded into a struct`)
)
type codecSelfer8369 struct{}
type codecSelfer8981 struct{}
func init() {
if codec1978.GenVersion != 10 {
@ -40,7 +40,7 @@ func init() {
}
func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperEncoder(e)
_, _, _ = h, z, r
if x == nil {
@ -78,10 +78,10 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if yyq2[0] {
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Time))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Time))
}
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, "")
r.EncodeStringEnc(codecSelferCcUTF88981, "")
}
} else {
if yyq2[0] {
@ -89,12 +89,12 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"time\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `time`)
r.EncodeStringEnc(codecSelferCcUTF88981, `time`)
}
r.WriteMapElemValue()
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Time))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Time))
}
}
}
@ -103,10 +103,10 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if yyq2[1] {
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Status))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Status))
}
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, "")
r.EncodeStringEnc(codecSelferCcUTF88981, "")
}
} else {
if yyq2[1] {
@ -114,12 +114,12 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"status\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `status`)
r.EncodeStringEnc(codecSelferCcUTF88981, `status`)
}
r.WriteMapElemValue()
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Status))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Status))
}
}
}
@ -128,10 +128,10 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if yyq2[2] {
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Detail))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Detail))
}
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, "")
r.EncodeStringEnc(codecSelferCcUTF88981, "")
}
} else {
if yyq2[2] {
@ -139,12 +139,12 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"detail\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `detail`)
r.EncodeStringEnc(codecSelferCcUTF88981, `detail`)
}
r.WriteMapElemValue()
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Detail))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Detail))
}
}
}
@ -168,7 +168,7 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"result\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `result`)
r.EncodeStringEnc(codecSelferCcUTF88981, `result`)
}
r.WriteMapElemValue()
if x.Result == nil {
@ -191,7 +191,7 @@ func (x *Response) CodecEncodeSelf(e *codec1978.Encoder) {
}
func (x *Response) CodecDecodeSelf(d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
if false {
@ -199,14 +199,14 @@ func (x *Response) CodecDecodeSelf(d *codec1978.Decoder) {
z.DecExtension(x, yyxt1)
} else {
yyct2 := r.ContainerType()
if yyct2 == codecSelferValueTypeMap8369 {
if yyct2 == codecSelferValueTypeMap8981 {
yyl2 := r.ReadMapStart()
if yyl2 == 0 {
r.ReadMapEnd()
} else {
x.codecDecodeSelfFromMap(yyl2, d)
}
} else if yyct2 == codecSelferValueTypeArray8369 {
} else if yyct2 == codecSelferValueTypeArray8981 {
yyl2 := r.ReadArrayStart()
if yyl2 == 0 {
r.ReadArrayEnd()
@ -214,13 +214,13 @@ func (x *Response) CodecDecodeSelf(d *codec1978.Decoder) {
x.codecDecodeSelfFromArray(yyl2, d)
}
} else {
panic(errCodecSelferOnlyMapOrArrayEncodeToStruct8369)
panic(errCodecSelferOnlyMapOrArrayEncodeToStruct8981)
}
}
}
func (x *Response) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
var yyhl3 bool = l >= 0
@ -273,7 +273,7 @@ func (x *Response) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
func (x *Response) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
var yyj9 int
@ -363,7 +363,7 @@ func (x *Response) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
}
func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperEncoder(e)
_, _, _ = h, z, r
if x == nil {
@ -400,10 +400,10 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
if yyq2[0] {
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Query))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Query))
}
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, "")
r.EncodeStringEnc(codecSelferCcUTF88981, "")
}
} else {
if yyq2[0] {
@ -411,12 +411,12 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"query\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `query`)
r.EncodeStringEnc(codecSelferCcUTF88981, `query`)
}
r.WriteMapElemValue()
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Query))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Query))
}
}
}
@ -425,10 +425,10 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
if yyq2[1] {
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Action))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Action))
}
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, "")
r.EncodeStringEnc(codecSelferCcUTF88981, "")
}
} else {
if yyq2[1] {
@ -436,12 +436,12 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"action\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `action`)
r.EncodeStringEnc(codecSelferCcUTF88981, `action`)
}
r.WriteMapElemValue()
if false {
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, string(x.Action))
r.EncodeStringEnc(codecSelferCcUTF88981, string(x.Action))
}
}
}
@ -465,7 +465,7 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
if z.IsJSONHandle() {
z.WriteStr("\"result\"")
} else {
r.EncodeStringEnc(codecSelferCcUTF88369, `result`)
r.EncodeStringEnc(codecSelferCcUTF88981, `result`)
}
r.WriteMapElemValue()
if x.Result == nil {
@ -488,7 +488,7 @@ func (x *Dispatch) CodecEncodeSelf(e *codec1978.Encoder) {
}
func (x *Dispatch) CodecDecodeSelf(d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
if false {
@ -496,14 +496,14 @@ func (x *Dispatch) CodecDecodeSelf(d *codec1978.Decoder) {
z.DecExtension(x, yyxt1)
} else {
yyct2 := r.ContainerType()
if yyct2 == codecSelferValueTypeMap8369 {
if yyct2 == codecSelferValueTypeMap8981 {
yyl2 := r.ReadMapStart()
if yyl2 == 0 {
r.ReadMapEnd()
} else {
x.codecDecodeSelfFromMap(yyl2, d)
}
} else if yyct2 == codecSelferValueTypeArray8369 {
} else if yyct2 == codecSelferValueTypeArray8981 {
yyl2 := r.ReadArrayStart()
if yyl2 == 0 {
r.ReadArrayEnd()
@ -511,13 +511,13 @@ func (x *Dispatch) CodecDecodeSelf(d *codec1978.Decoder) {
x.codecDecodeSelfFromArray(yyl2, d)
}
} else {
panic(errCodecSelferOnlyMapOrArrayEncodeToStruct8369)
panic(errCodecSelferOnlyMapOrArrayEncodeToStruct8981)
}
}
}
func (x *Dispatch) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
var yyhl3 bool = l >= 0
@ -564,7 +564,7 @@ func (x *Dispatch) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) {
}
func (x *Dispatch) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) {
var h codecSelfer8369
var h codecSelfer8981
z, r := codec1978.GenHelperDecoder(d)
_, _, _ = h, z, r
var yyj8 int

4
go.mod
View file

@ -6,7 +6,7 @@ require (
github.com/abcum/bump v0.0.0-20190929092354-46a9c9dbf9ab
github.com/abcum/cork v0.0.0-20190929093632-f45e788b8f1b
github.com/abcum/fibre v0.0.0-20191120141235-91225f7e723a
github.com/abcum/rixxdb v0.0.0-20191031151827-f515482b89eb
github.com/abcum/rixxdb v0.0.0-20191128162642-00f52d16d2d3
github.com/abcum/tmpl v0.0.0-20190929092451-4b08f6027ed1 // indirect
github.com/dgraph-io/ristretto v0.0.0-20191114170855-99d1bbbf28e6
github.com/dgrijalva/jwt-go v3.2.0+incompatible
@ -28,5 +28,5 @@ require (
golang.org/x/crypto v0.0.0-20191119213627-4f8c1d86b1ba
golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914
golang.org/x/text v0.3.2
golang.org/x/tools v0.0.0-20191120001058-ad01d5993d97 // indirect
golang.org/x/tools v0.0.0-20191127201027-ecd32218bd7f // indirect
)

12
go.sum
View file

@ -7,8 +7,8 @@ github.com/abcum/cork v0.0.0-20190929093632-f45e788b8f1b h1:R/fzwNDZALJjuU9zjtJ8
github.com/abcum/cork v0.0.0-20190929093632-f45e788b8f1b/go.mod h1:t54olPax+YxSe0VIdutFPcEupQhkg7Y3QA8FzxNe6Po=
github.com/abcum/fibre v0.0.0-20191120141235-91225f7e723a h1:nD0QoQQ03SUnDae0bqyNYj/IN0D6vovAjtwIr07U1PQ=
github.com/abcum/fibre v0.0.0-20191120141235-91225f7e723a/go.mod h1:+eFxgfBo6LCF13y5Eq3+ElYlHebIGIf4bBaqP2z83yo=
github.com/abcum/rixxdb v0.0.0-20191031151827-f515482b89eb h1:XsphbsOLSH4V01atOtRwMxRePRCvT5yuZtdMcKkE+2k=
github.com/abcum/rixxdb v0.0.0-20191031151827-f515482b89eb/go.mod h1:6lIALuvT453ADA/5AFRXGLDNcc3sqIvt4ISaKyPeTLg=
github.com/abcum/rixxdb v0.0.0-20191128162642-00f52d16d2d3 h1:ALTpftzuUr/6N2HU+IRHtdWlhWO/F5PTATMDXSP+lXg=
github.com/abcum/rixxdb v0.0.0-20191128162642-00f52d16d2d3/go.mod h1:6lIALuvT453ADA/5AFRXGLDNcc3sqIvt4ISaKyPeTLg=
github.com/abcum/tmpl v0.0.0-20190929092451-4b08f6027ed1 h1:hRp2bOK7p4HTCCFl4v0apR309NuN1qpKnWnX21JSCHQ=
github.com/abcum/tmpl v0.0.0-20190929092451-4b08f6027ed1/go.mod h1:T/xXRVJ6YMMHqf+MiKW6KELsEmb2n4eNMsaNQ6lI5M8=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
@ -95,12 +95,8 @@ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/ugorji/go v0.0.0-20181204163529-d75b2dcb6bc8 h1:Kcv6ck5PWsaDifMwDDgexKfbmP1k63r3tcVppPa+FyM=
github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo=
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 h1:3SVOIvH7Ae1KRYyQWRjXWJEA9sS/c/pjvH++55Gr648=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
@ -124,8 +120,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384 h1:TFlARGu6Czu1z7q93HTxcP1P+/ZFC/IKythI5RzrnRg=
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20191120001058-ad01d5993d97 h1:u8hSFDulpuhoY0GHMbG6Rp23PzphtTnZrQX3dOvEae0=
golang.org/x/tools v0.0.0-20191120001058-ad01d5993d97/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191127201027-ecd32218bd7f h1:3MlESg/jvTr87F4ttA/q4B+uhe/q6qleC9/DP+IwQmY=
golang.org/x/tools v0.0.0-20191127201027-ecd32218bd7f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

File diff suppressed because it is too large Load diff