go1/gridster

There is no license information available for the latest version (v0.1.0) of this package.

v0.1.0 2014-06-05 09:34 UTC

This package is not auto-updated.

Last update: 2024-11-05 03:28:17 UTC


README

This library will provide a couple of interfaces and serializers to ouput Gridster settings. It comes with two default encoders such as Json and XML. It can then be used in a traditional implementation or an angular type implementation.

Grid

This is the main Grid entity. It is used to represent the Gridster view. It contains blocks.

Block

This block entity specifies the block type, positioning on gridster.

Source

This specifies where the data / information will be gathered from. ie: Data Source.

Encoders

JSON is now. YAML, XML will come.

How to use

Ensure that you have three type of entities.

  1. Grid implement GridInterfacegit st
  2. Block implement BlockInterface
  3. Source implement SourceInterface