resthandler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetrieveHandler

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

RetrieveHandler retrieves the current log URL.

func NewRetriever

func NewRetriever(store logMonitorStore) *RetrieveHandler

NewRetriever returns a new RetrieveHandler.

func (*RetrieveHandler) Handler

Handler returns the HTTP REST handle for the log retriever service.

func (*RetrieveHandler) Method

func (r *RetrieveHandler) Method() string

Method returns the HTTP REST method for the log retriever.

func (*RetrieveHandler) Path

func (r *RetrieveHandler) Path() string

Path returns the HTTP REST endpoint for the log retriever.

type UpdateHandler

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

UpdateHandler activates VCT log URL in log monitor store.

func NewUpdateHandler

func NewUpdateHandler(store logMonitorStore) *UpdateHandler

NewUpdateHandler returns a new UpdateHandler.

func (*UpdateHandler) Handler

Handler returns the HTTP REST handle for activating VCT log for log monitoring service.

func (*UpdateHandler) Method

func (a *UpdateHandler) Method() string

Method returns the HTTP REST method for activating VCT log for log monitoring service.

func (*UpdateHandler) Path

func (a *UpdateHandler) Path() string

Path returns the HTTP REST endpoint for the UpdateHandler service.

Jump to

Keyboard shortcuts

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