Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrUnmarshalProtoJSONFailed = "failed to unmarshal proto JSON: %v" ErrReadBodyFailed = "failed to read body: %v" )
Variables ¶
View Source
var ( ErrCodeReadBodyFailed string ErrCodeInvalidProtoMessage string ErrCodeUnmarshalProtoJSONFailed string )
View Source
var (
ErrInvalidProtoMessage = errors.New("invalid proto message")
)
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder() *Decoder
NewDecoder creates a new Decoder instance
Returns:
- *Decoder: The decoder instance
Click to show internal directories.
Click to hide internal directories.