validation

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(
	logger *zap.Logger,
	registry schema_registry.SchemaRegistry,
) *Service

func (*Service) ValidateFile

func (s *Service) ValidateFile(file string, ocppVersion ocpp.Version) error

ValidateFile validates a file containing multiple OCPP messages against the schema.

func (*Service) ValidateMessage

func (s *Service) ValidateMessage(message string, ocppVersion ocpp.Version) error

ValidateMessage validates a single OCPP message against the schema.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL