example

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	handlers.HandlerLogger
	// contains filtered or unexported fields
}

Handler ハンドラーの実装例

func NewHandler

func NewHandler(listenAddr string, configPath string, logger *log.Logger) *Handler

NewHandler .

func (*Handler) ConfigPath added in v0.1.0

func (h *Handler) ConfigPath() string

ConfigPath CustomHandlerインターフェースの実装

func (*Handler) Handle

func (h *Handler) Handle(req *handler.HandleRequest, sender handlers.ResponseSender) error

Handle Coreからのメッセージのハンドリング

func (*Handler) ListenAddress

func (h *Handler) ListenAddress() string

ListenAddress CustomHandlerインターフェースの実装

func (*Handler) Name

func (h *Handler) Name() string

Name ハンドラ名、"autoscaler-handlers-"というプレフィックスをつけない短い名前を返す

func (*Handler) Version

func (h *Handler) Version() string

Version .

Jump to

Keyboard shortcuts

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