github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/protos/config/grpc/config.proto (about) 1 syntax = "proto3"; 2 package yuhaiin.protos.config.service; 3 4 import "config/config.proto"; 5 import "google/protobuf/empty.proto"; 6 7 option go_package = "github.com/Asutorufa/yuhaiin/pkg/protos/config/service"; 8 9 service config_service { 10 rpc load(google.protobuf.Empty) returns (yuhaiin.config.setting); 11 rpc save(yuhaiin.config.setting) returns (google.protobuf.Empty); 12 rpc info(google.protobuf.Empty) returns (yuhaiin.config.info); 13 }