owner

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAdminLogLevel

func HandleAdminLogLevel(w http.ResponseWriter, r *http.Request)

HandleAdminLogLevel handles requests to set the log level.

func RegisterOwnerAPIRoutes

func RegisterOwnerAPIRoutes(router *gin.Engine, capture capture.Capture)

RegisterOwnerAPIRoutes registers routes for owner APIs.

Types

type ChangefeedResp

type ChangefeedResp struct {
	FeedState    string              `json:"state"`
	TSO          uint64              `json:"tso"`
	Checkpoint   string              `json:"checkpoint"`
	RunningError *model.RunningError `json:"error"`
}

ChangefeedResp holds the most common usage information for a changefeed

func (ChangefeedResp) MarshalJSON

func (c ChangefeedResp) MarshalJSON() ([]byte, error)

MarshalJSON use to marshal ChangefeedResp

Jump to

Keyboard shortcuts

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