// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/base/initial/internal/logic/check"
	pb "bsm/full/module/base/initial/pb"
	"context"
)

type CheckServer struct {
	pb.UnimplementedCheckServer
}

func NewCheckServer() *CheckServer {
	return &CheckServer{}
}

// HELLO
func (s *CheckServer) Hello(ctx context.Context, in *pb.Crc) (*pb.StatusReply, error) {
	return check.Hello(ctx, in)
}

// 获取应用的相关配置信息
func (s *CheckServer) Config(ctx context.Context, in *pb.ConfigRequest) (*pb.ConfigReply, error) {
	return check.Config(ctx, in)
}

// 检查更新
func (s *CheckServer) Updates(ctx context.Context, in *pb.CheckForUpdatesRequest) (*pb.CheckForUpdatesReply, error) {
	return check.Updates(ctx, in)
}
