common

package
v0.0.0-...-38ed96f Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

@Time : 2022/3/23 @Author : jzd @Project: msgsvc

@Time : 2022/3/23 @Author : jzd @Project: msgsvc

Index

Constants

View Source
const (
	RedisAddr = "myecs.jzd:65079"

	Apigw          = "apigw"
	ApigwNS        = Apigw + "_ns"
	ApigwCommitJob = "kong_resource_commit"

	Lbserver = "lbserver"
)

Variables

View Source
var RedisPool *redis.Pool

Functions

This section is empty.

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

func (*Context) CommitHandler

func (c *Context) CommitHandler(job *work.Job) error

func (*Context) Log

func (c *Context) Log(job *work.Job, next work.NextMiddlewareFunc) error

type Handler

type Handler interface {
	Commit(job *work.Job) error
}
var KongHandler Handler

Jump to

Keyboard shortcuts

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