speedle

package
v0.0.0-...-1643d90 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: UPL-1.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfo

func GetInfo() adapter.Info

GetInfo returns the Info associated with this adapter implementation.

Types

type JsonAttribute

type JsonAttribute struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type JsonContext

type JsonContext struct {
	Subject     *JsonSubject     `json:"subject"`
	ServiceName string           `json:"serviceName"`
	Resource    string           `json:"resource"`
	Action      string           `json:"action"`
	Attributes  []*JsonAttribute `json:"attributes"`
}

type JsonPrincipal

type JsonPrincipal struct {
	Type string `json:"type,omitempty"`
	Name string `json:"name,omitempty"`
}

type JsonSubject

type JsonSubject struct {
	Principals []*JsonPrincipal `json:"principals,omitempty"`
}

Jump to

Keyboard shortcuts

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