Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2023 Changes in this version + const SECRETDEFAULT + type Config interface + GetUser func() (userName string, passWd string, err error) + ReadJwtSecret func() (secret string, err error) + type GrpcService struct + C Config + func NewService(c Config) *GrpcService + func (s *GrpcService) Echo(ctx context.Context, in *api.StringMessage) (*api.StringMessage, error) + func (s *GrpcService) GetRESTfulHttpMux(httpBind string, https *grpcwebserver.HttpsConf) *grpcwebserver.RESTfulMux + func (s *GrpcService) LoadJwtSecret() + func (s *GrpcService) Login(ctx context.Context, in *api.LoginReqMessage) (*api.LoginRespMessage, error) + func (s *GrpcService) RegisterServers(sreg grpc.ServiceRegistrar) + func (s *GrpcService) Stream() grpc.StreamServerInterceptor + func (s *GrpcService) Unary() grpc.UnaryServerInterceptor