refactor: add interface check

This commit is contained in:
Derrick Hammer 2024-01-07 07:59:14 -05:00
parent a497592bad
commit be082fda60
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ import (
"github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5"
) )
var _ base.IncomingMessageTyped = (*HandshakeOpen)(nil)
type HandshakeOpen struct { type HandshakeOpen struct {
challenge []byte challenge []byte
networkId string networkId string