Help us shape the future of Go! Take the 2026 Go Developer Survey

plugin

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogServer

type LogServer struct {
	pb3.UnimplementedLogsServer

	IsLogPluginEnabled bool
	// contains filtered or unexported fields
}

LogServer is the server for the log plugin server

func NewLogServer

func NewLogServer(config *config.Config, logger *zap.SugaredLogger, auth auth.Checker, db *gorm.DB) (*LogServer, error)

NewLogServer returns a plugin log server

func (*LogServer) GetLog

func (s *LogServer) GetLog(req *pb3.GetLogRequest, srv pb3.Logs_GetLogServer) error

GetLog streams log record by log request

func (*LogServer) LogMux

func (s *LogServer) LogMux() http.Handler

LogMux returns a http.Handler that serves the log plugin server

Jump to

Keyboard shortcuts

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