contracts

package
v0.0.0-...-67b74e3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiResponseContract

type ApiResponseContract struct {
	Data       interface{}        `json:"data"`
	Messages   *[]MessageContract `json:"messages"`
	ReturnPath string             `json:"returnPath"`
	StatusCode int                `json:"-"`
}

type EnvironmentContext

type EnvironmentContext struct {
	Name string
}

type LocalizationContext

type LocalizationContext struct {
	Culture string
}

type MessageContract

type MessageContract struct {
	Type            string `json:"type"`
	Content         string `json:"content"`
	Title           string `json:"title"`
	Code            string `json:"code"`
	DisplayLocation string `json:"displayLocation"`
}

type MicroServiceContext

type MicroServiceContext struct {
	RequestId             string
	UserAgent             string
	IpAddress             string
	Authorization         string
	Localization          *LocalizationContext
	ServiceDefinition     *MicroServiceContextDefinition
	EnvironmentDefinition *EnvironmentContext
	Identity              *auth.IdentityContract
	Specifications        *SpecificationContext
}

type MicroServiceContextDefinition

type MicroServiceContextDefinition struct {
	Name    string
	Version string
}

type ServiceResultContract

type ServiceResultContract struct {
	Data            interface{}
	ValidationState enumeration.ValidationState
	ReturnPath      string
	Messages        *[]MessageContract
}

type SpecificationContext

type SpecificationContext struct {
	TracingViaLogEnabled bool
}

Jump to

Keyboard shortcuts

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