model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Results []RuleResponse `json:"results"`
}

func MakeResponse

func MakeResponse(from ...jsonengine.Response) Response

type RuleResponse

type RuleResponse struct {
	PolicyName string                  `json:"policy"`
	RuleName   string                  `json:"rule"`
	Identifier string                  `json:"identifier,omitempty"`
	Result     jsonengine.PolicyResult `json:"result"`
	Message    string                  `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳