mirror of
https://github.com/foomo/neosproxy.git
synced 2026-11-30 08:41:46 +00:00
20 lines
650 B
Go
20 lines
650 B
Go
package cms
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// ~ INTERFACES
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Service to load
|
|
type Service interface {
|
|
GetContent(id string, dimension string, workspace string) (content Content, e error)
|
|
|
|
// GetRepo(id string, dimension string) (html string, e error)
|
|
// GetImage(id string, dimension string) (html string, e error)
|
|
// GetAsset(id string, dimension string) (html string, e error)
|
|
}
|
|
|
|
// ContentLoader interface
|
|
type ContentLoader interface {
|
|
GetContent(id, dimension, workspace string) (content Content, e error)
|
|
}
|