app

package
v0.0.0-...-831f480 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppRouter

func NewAppRouter(limit int) *appRouter

func NewClientTrace

func NewClientTrace(span opentracing.Span) *httptrace.ClientTrace

Types

type ErrMsg

type ErrMsg struct {
	Error string `json:"error"`
}

type LogrusAdapter

type LogrusAdapter struct{}

func (LogrusAdapter) Debugf

func (l LogrusAdapter) Debugf(msg string, args ...interface{})

func (LogrusAdapter) Error

func (l LogrusAdapter) Error(msg string)

func (LogrusAdapter) Infof

func (l LogrusAdapter) Infof(msg string, args ...interface{})

type MsgRequestBody

type MsgRequestBody struct {
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

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