You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
223 B
Go

package ws
type Codec interface {
// Encode encodes data into CustomEntry.
Encode(v interface{}) (interface{}, error)
// Decode decodes data to any type you want
Decode(customEntry interface{}) (interface{}, error)
}