Skip to content

Commit

Permalink
协议编解码 注释
Browse files Browse the repository at this point in the history
  • Loading branch information
kingofzihua committed Feb 5, 2021
1 parent 30b14a7 commit 638122f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec/codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/golang/protobuf/proto"
)

// Codec defines the codec specification for data
// Codec 定义了编解码的通用标准
type Codec interface {
Encode([]byte) ([]byte, error)
Decode([]byte) ([]byte, error)
Expand Down

0 comments on commit 638122f

Please sign in to comment.