serverpingkratos

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingService

type PingService struct {
	pb.UnimplementedPingServer
	// contains filtered or unexported fields
}

PingService implements the Ping service with configurable logging PingService 实现 Ping 服务,支持可配置的日志记录

func NewPingService

func NewPingService(logger log.Logger) *PingService

NewPingService creates a new PingService with the provided logger 使用提供的 logger 创建新的 PingService

func (*PingService) Ping

Ping handles ping requests and returns the same message back Ping 处理 ping 请求并返回相同的消息

Jump to

Keyboard shortcuts

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