Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultExtension = "json"
)
Variables ¶
This section is empty.
Functions ¶
func ExampleDataRaw ¶
func ExampleDataRaw() []byte
Types ¶
type ExampleData ¶
type ExampleData struct {
Data map[string]ExampleSource `json:"data,omitempty"`
}
func NewExampleData ¶
func NewExampleData() (ExampleData, error)
func (*ExampleData) BuildFilename ¶
func (data *ExampleData) BuildFilename(handlerKey string, eventSlug string) string
func (*ExampleData) ExampleMessageBytes ¶
func (data *ExampleData) ExampleMessageBytes(handlerKey string, eventSlug string) ([]byte, error)
type ExampleSource ¶
Click to show internal directories.
Click to hide internal directories.