metric head/tail 변경

This commit is contained in:
2023-11-23 09:45:36 +09:00
parent 64dece4f7e
commit 9688731b3e
2 changed files with 11 additions and 2 deletions

View File

@ -16,8 +16,8 @@ import (
)
const (
METRIC_HEAD_INLINE = byte(1)
METRIC_TAIL_INLINE = byte(2)
METRIC_HEAD_INLINE = byte(14)
METRIC_TAIL_INLINE = byte(15)
)
type MetricType int

View File

@ -31,6 +31,15 @@ import (
"go.mongodb.org/mongo-driver/bson/primitive"
)
func init() {
gob.Register(map[string]any{})
gob.Register(primitive.A{})
gob.Register(primitive.M{})
gob.Register(primitive.D{})
gob.Register(primitive.ObjectID{})
gob.Register([]any{})
}
const (
// HTTPStatusReloginRequired : http status를 이걸 받으면 클라이언트는 로그아웃하고 로그인 화면으로 돌아가야 한다.
HTTPStatusReloginRequired = 599