package
2.0.0-beta.1+incompatible
Repository: https://github.com/wepala/weos.git
Documentation: pkg.go.dev
# Functions
AddIDToPayload: This adds the weosID to the payload.
No description provided by the author
No description provided by the author
CreateHandler is used to add entities to the repository.
No description provided by the author
DeleteHandler is used for a single entity.
Get entity if it's in the context.
GetEntityFactory get entity factory from context.
GetIDfromPayload: This returns the weosID from payload.
No description provided by the author
No description provided by the author
NewAggregateEvent generates an event on a root aggregate.Deprecated: 08/12/2021 This factory doesn't take into account the Aggregate root which was just introduced.
NewBasicEvent Create a basic eventDeprecated: 08/12/2021 This factory doesn't take into account the Aggregate root which was just introduced.
No description provided by the author
No description provided by the author
No description provided by the author
NewEntityEvent Creates an event for an entity within a root aggregate.The rootID is passed in (as opposed to the root entity) to improve developer experience.
No description provided by the author
NewGormEvent converts a domain event to something that is a bit easier for Gorm to work with.
No description provided by the author
Deprecated: 02/01/2022 not sure this is needed.
No description provided by the author
UpdateHandler is used for a single payload.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: Dependency injection is used so that there no longer is a need to create a struct that holds the api information.
No description provided by the author
# Structs
AggregateRoot Is a base struct for WeOS applications to use.
No description provided by the author
Deprecated: 01/30/2022 Removing this in favor of instantiating things during initialize and then passing by injectingthem into the routes.Module is the core of the WeOS framework.
No description provided by the author
BasicProperty is basic struct for a property.
BooleanProperty basic string property.
Command is a common interface that all incoming requests should implement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NumericProperty basic string property.
No description provided by the author
No description provided by the author
StringProperty basic string property.
Time wrapper that marshals as iso8601 which is what open api uses instead of rfc3339Nano.
No description provided by the author
goland:noinspection GoNameStartsWithPackageName.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EntityRepository is a repository that can be used to store and create entities.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Property interface that all fields should implement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author