mirror of
https://github.com/elyby/chrly.git
synced 2024-11-30 02:32:19 +05:30
6f148a8791
Implemented /signing-key endpoint to get public key in der format, used to sign the textures. Improved logging of errors from http package. Changed behavior of the /cloaks endpoint
8 lines
121 B
Go
8 lines
121 B
Go
package utils
|
|
|
|
import "time"
|
|
|
|
func UnixMillisecond(t time.Time) int64 {
|
|
return t.UnixNano() / int64(time.Millisecond)
|
|
}
|