helpers

package
v0.0.0-...-33a7b65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDefaultLayout

func LoadDefaultLayout(c beego.Controller, templateName string) beego.Controller

LoadDefaultLayout is matching -> view & main layout page

func ReadFromKafka

func ReadFromKafka(topic string) []string

ReadFromKafka is getting messages from specified Apache Kafka topic

func SetDefaultTemplateDelimeter

func SetDefaultTemplateDelimeter(startWith string, endWith string)

SetDefaultTemplateDelimeter is changing default template delimeters with user defined delimeters

func WriteToKafka

func WriteToKafka(topic string, message []byte, partition int) bool

WriteToKafka is writing messages into specified Apache Kafka topic

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL