service

package
v0.0.0-...-9929e1d Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	pb.UnimplementedSystemServiceServer
	// contains filtered or unexported fields
}

func New

func New(app *app.App) *Service

func (*Service) GetSetting

func (srv *Service) GetSetting(ctx context.Context, req *pb.GetSettingRequest) (*pb.GetSettingResponse, error)

func (*Service) Info

func (srv *Service) Info(ctx context.Context, in *pb.InfoRequest) (*pb.InfoResponse, error)

func (*Service) Register

func (srv *Service) Register(grpc *grpc.Server)

func (*Service) RegisterGateway

func (srv *Service) RegisterGateway(ctx context.Context, mux *runtime.ServeMux, e *echo.Echo)

func (*Service) ResetSetting

func (srv *Service) ResetSetting(ctx context.Context, req *pb.ResetSettingRequest) (*pb.ResetSettingResponse, error)

func (*Service) UpdateSetting

func (srv *Service) UpdateSetting(ctx context.Context, req *pb.UpdateSettingRequest) (*pb.UpdateSettingResponse, error)

Jump to

Keyboard shortcuts

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