2026-03-26 01:56:29 +07:00

19 lines
295 B
Go

package app
import (
"context"
proto "pinned_message/proto"
)
type Server struct {
proto.UnimplementedPinnedMessageServer
}
func NewServer() *Server {
return &Server{}
}
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
return &proto.PingRsp{}, nil
}