Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
render.UnimplementedChartAPIServer
// contains filtered or unexported fields
}
Server implements gRPC render.ChartAPIServer.
func NewServer ¶
func NewServer(log *zerolog.Logger, b backend.Backend, gRPCCfg config.GRPCConfig, mrec metric.Recorder) (*Server, error)
NewServer configures a new Server.
func (*Server) CreateChart ¶
func (s *Server) CreateChart(ctx context.Context, req *render.CreateChartRequest) (*render.ChartReply, error)
CreateChart implements render.ChartAPIServer.CreateChart.
nolint: wrapcheck
func (*Server) GetChart ¶
func (s *Server) GetChart(_ context.Context, req *render.GetChartRequest) (*render.ChartReply, error)
GetChart implements render.ChartAPIServer.GetChart. It returns codes.NotFound until storage is implemented.
Click to show internal directories.
Click to hide internal directories.