eventService

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEventOperationProcess

func GetEventOperationProcess(o model.Operation) string

func GetEventOperationProducesEvents

func GetEventOperationProducesEvents(o model.Operation) string

func GetEventOperationProducesEventsAsSlice

func GetEventOperationProducesEventsAsSlice(o model.Operation) []string

func GetEventOperationQueueGroups

func GetEventOperationQueueGroups(s model.Struct) []queueGroup

func GetEventOperationTopic

func GetEventOperationTopic(o model.Operation) string

func GetEventServiceSelfName

func GetEventServiceSelfName(s model.Struct) string

func GetEventServiceTopics

func GetEventServiceTopics(s model.Struct) []string

func GetFullEventNames

func GetFullEventNames(s model.Struct) []string

func GetInputArgPackage

func GetInputArgPackage(o model.Operation) string

func GetInputArgType

func GetInputArgType(o model.Operation) string

func IsAnyEventOperationDelayed

func IsAnyEventOperationDelayed(s model.Struct) bool

func IsEventNotTransient

func IsEventNotTransient(o model.Operation) bool

func IsEventOperation

func IsEventOperation(o model.Operation) bool

func IsEventOperationDelayed

func IsEventOperationDelayed(o model.Operation) bool

func IsEventService

func IsEventService(s model.Struct) bool

func IsEventServiceNoTest

func IsEventServiceNoTest(s model.Struct) bool

func IsPrimitiveArg

func IsPrimitiveArg(f model.Field) bool

func NewGenerator

func NewGenerator() generator.Generator

func ToFirstUpper

func ToFirstUpper(in string) string

Types

type Generator

type Generator struct {
}

func (*Generator) Generate

func (eg *Generator) Generate(inputDir string, parsedSource model.ParsedSources) error

func (*Generator) GetAnnotations

func (eg *Generator) GetAnnotations() []annotation.AnnotationDescriptor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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