Documentation
¶
Overview ¶
Package minecraft provides the JSON-serializable model, mapper, and option decoder for the Minecraft layer. It registers itself with the jsonapi registry via init().
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeOptions ¶
func DecodeOptions(raw json.RawMessage) ([]greet.GreetOption, error)
DecodeOptions decodes raw Minecraft options into engine GreetOptions.
func FromResult ¶
FromResult maps a *minecraft.MinecraftResult to *Data. It returns the input unchanged when data is not a *minecraft.MinecraftResult.
Types ¶
Click to show internal directories.
Click to hide internal directories.