场景一: 用户浏览商城 canal sync user browse -> Service Load Balance -> wegigo servers <------> redis cluster <---------------> mysql 用户浏览的数据都是从后台mysql同步到redis的数据, 数据从mysql数据库同步到r

Read More…

Wegigo开发笔记

2018-01-12

2018-01-12 Issue1: sdk/server/pongo2_mem_loader.go:18: undefined: pongo2.TemplateLoader Solution: The dependency pongo need use the last version in master branch, change Gopkg.toml for pongo2 from version = "3.0.0" to branch = "master" and run dep ensureagain. Issue2: vendor/github.com/coreos/etcd/client/keys.generated.go:71: r.EncodeArrayStart undefined Symptom: vendor/github.com/coreos/etcd/client/keys.generated.go:71: r.EncodeArrayStart undefined (type codec.genHelperEncDriver has no field or method EncodeArrayStart) vendor/github.com/coreos/etcd/client/keys.generated.go:79: r.EncodeMapStart undefined (type codec.genHelperEncDriver has no field or method EncodeMapStart) vendor/github.com/coreos/etcd/client/keys.generated.go:83: z.EncSendContainerState undefined (type codec.

Read More…

Basic Elements form input radio checkbox button table Bootstrap Specific Elements panel Form layout: possible values: [‘horinzontal’, ‘default’, ‘inline’] default value: ‘horinzontal’ comment: when add this to <form> element as it’s attribute, it will automatically add corresponding css classes to match the form laytout, also this value can be passed to it’s child control elements as ‘layout’ varaible input help-label comment: it will automatically add <label> element before <input> element panel style: ‘default’, ‘primary’, ‘success’, ‘info’, ‘warning’, ‘danger’ header style: primary …