Documentation
¶
Overview ¶
Package yaml encoder/decoder
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamEncoder ¶
type StreamEncoder struct {
// contains filtered or unexported fields
}
func NewStreamEncoder ¶
func NewStreamEncoder(req any) (*StreamEncoder, error)
func (*StreamEncoder) Context ¶
func (e *StreamEncoder) Context() []byte
func (*StreamEncoder) EnableValidate ¶
func (e *StreamEncoder) EnableValidate()
func (*StreamEncoder) Read ¶
func (e *StreamEncoder) Read(ctx context.Context, ch <-chan string) <-chan any
func (*StreamEncoder) Validate ¶
func (e *StreamEncoder) Validate(req any) error
Click to show internal directories.
Click to hide internal directories.