Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.5.0
type Option func(*options)
Option is a functional option for ValidateFile (kept for backwards compat with callers that still build options separately before constructing a ValidationRequest).
func WithOutput ¶ added in v0.5.0
WithOutput sets the output path for the validation report.
type ReportWriter ¶ added in v0.6.0
ReportWriter defines how to write a validation report.
type Request ¶ added in v0.6.0
type Request struct {
OcppContext ocpp.OcppContext // OCPP version, vendor, and model for schema selection
Messages []string // inline messages to validate (mutually exclusive with File)
File string // path to a newline-delimited file of messages
Output string // optional path to write the report (.json, .csv, .txt)
}
Request carries all inputs for a single validation run.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService( logger *zap.Logger, registry schema_registry.SchemaRegistry, ) *Service
Click to show internal directories.
Click to hide internal directories.