Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache = &cache{data: make(map[string]interface{})}
Functions ¶
This section is empty.
Types ¶
type PositionsProvider ¶
type PositionsProvider interface {
Find() (*PositionsResponse, error)
}
func NewPositionsProvider ¶
func NewPositionsProvider(conf *config.Config) PositionsProvider
type PositionsResponse ¶
type PostProvider ¶
type PostProvider interface {
Find(typ string) (*PostsResponse, error)
}
func NewPostProvider ¶
func NewPostProvider(conf *config.Config) PostProvider
type PostsResponse ¶
type PostsResponse struct {
Posts []*Post `json:"Posts"`
}
Click to show internal directories.
Click to hide internal directories.