- Base Image
base
=debian:bullseye-slim
(for now)
- Dev Images
dev-deps-base
=base
+ necessary dependencies +git clone metacall/core
dev-deps-lang
=dev-deps-base
+ lang-envdev-lang
=dev-deps-lang
+core build
(get loaders)
- Runner Image
runner
= I don't really understand it
- Runtime Image
runtime
= runtime-env + (dev-lang
-dev-deps-lang
) = runtime-env +core build
(loaders)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func getSign(staffName string, staffID int64, ts int64, province int, city int, country int) string { | |
s := staffName + | |
base64.StdEncoding.EncodeToString([]byte(strconv.FormatInt(staffID, 10))) + | |
strconv.FormatInt(ts, 10) + | |
base64.StdEncoding.EncodeToString([]byte(strconv.Itoa(province))) + | |
strconv.Itoa(city) + | |
strconv.Itoa(country) | |
return SHA1(s) | |
} | |
func SHA1(s string) string { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type D struct { | |
Data []byte | |
} | |
type M struct { | |
Tag uint8 | |
Type uint8 | |
Val interface{} | |
Pos int | |
Ext int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-10-07 20:47:22 DEBUG dl.td.conn.mtproto.read mtproto/read.go:141 Read loop done {"v": "v0.88.0", "conn_id": 3, "dc_id": 5, "reason": "read: read: read intermediate: read length: EOF", "reasonVerbose": "read:\n github.com/gotd/td/internal/mtproto.(*Conn).readLoop\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/mtproto/read.go:193\n - read:\n github.com/gotd/td/transport.(*connection).Recv\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/transport/connection.go:70\n - read intermediate:\n github.com/gotd/td/internal/proto/codec.Intermediate.Read\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/proto/codec/intermediate.go:73\n - read length:\n github.com/gotd/td/internal/proto/codec.readLen\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/proto/codec/codec.go:35\n - EOF"} | |
2023-10-07 20:47:22 DEBUG dl.td.conn.mtproto.group tdsync/cancel_group.go:48 Task stopped {"v": "v0.88.0", "conn_id": 3, "dc_id": 5, "task": "r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-10-07 21:15:56 DEBUG dl.td.conn.mtproto.read mtproto/read.go:141 Read loop done {"v": "v0.88.0", "conn_id": 3, "dc_id": 5, "reason": "read: read: read intermediate: read length: EOF", "reasonVerbose": "read:\n github.com/gotd/td/internal/mtproto.(*Conn).readLoop\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/mtproto/read.go:193\n - read:\n github.com/gotd/td/transport.(*connection).Recv\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/transport/connection.go:70\n - read intermediate:\n github.com/gotd/td/internal/proto/codec.Intermediate.Read\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/proto/codec/intermediate.go:73\n - read length:\n github.com/gotd/td/internal/proto/codec.readLen\n C:/Users/iyear/go/pkg/mod/github.com/gotd/td@v0.88.0/internal/proto/codec/codec.go:35\n - EOF"} | |
2023-10-07 21:15:56 DEBUG dl.td.conn.mtproto.group tdsync/cancel_group.go:48 Task stopped {"v": "v0.88.0", "conn_id": 3, "dc_id": 5, "task": "r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-10-08 11:50:03 DEBUG dl.td.conn.mtproto.read mtproto/read.go:141 Read loop done {"v": "v0.88.0", "conn_id": 1, "dc_id": 5, "reason": "read: read: read intermediate: read length: EOF", "reasonVerbose": "read:\n github.com/gotd/td/internal/mtproto.(*Conn).readLoop\n D:/projects/gotd/internal/mtproto/read.go:193\n - read:\n github.com/gotd/td/transport.(*connection).Recv\n D:/projects/gotd/transport/connection.go:70\n - read intermediate:\n github.com/gotd/td/internal/proto/codec.Intermediate.Read\n D:/projects/gotd/internal/proto/codec/intermediate.go:73\n - read length:\n github.com/gotd/td/internal/proto/codec.readLen\n D:/projects/gotd/internal/proto/codec/codec.go:35\n - EOF"} | |
2023-10-08 11:50:03 DEBUG dl.td.conn.mtproto.group tdsync/cancel_group.go:48 Task stopped {"v": "v0.88.0", "conn_id": 1, "dc_id": 5, "task": "readLoop", "error": "read: read: read intermediate: read length: EOF", "errorVerbose": "read:\n github.com/gotd/td/internal/mtproto.(*Conn).re |