Documentation
¶
Index ¶
- type Server
- func (s *Server) CreateRecord(ctx context.Context, req *dogfoodpb.CreateRecordRequest) (*dogfoodpb.Record, error)
- func (s *Server) ListRecords(ctx context.Context, req *dogfoodpb.ListRecordsRequest) (*dogfoodpb.ListRecordsResponse, error)
- func (s *Server) LivenessProbe(context.Context, *healthcheckpb.LivenessProbeRequest) (*healthcheckpb.LivenessProbeResponse, error)
- func (s *Server) ReadinessProbe(context.Context, *healthcheckpb.ReadinessProbeRequest) (*healthcheckpb.ReadinessProbeResponse, error)
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) StartupProbe(context.Context, *healthcheckpb.StartupProbeRequest) (*healthcheckpb.StartupProbeResponse, error)
- func (s *Server) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateRecord ¶
func (*Server) ListRecords ¶
func (s *Server) ListRecords(ctx context.Context, req *dogfoodpb.ListRecordsRequest) (*dogfoodpb.ListRecordsResponse, error)
func (*Server) LivenessProbe ¶
func (s *Server) LivenessProbe(context.Context, *healthcheckpb.LivenessProbeRequest) (*healthcheckpb.LivenessProbeResponse, error)
func (*Server) ReadinessProbe ¶
func (s *Server) ReadinessProbe(context.Context, *healthcheckpb.ReadinessProbeRequest) (*healthcheckpb.ReadinessProbeResponse, error)
func (*Server) StartupProbe ¶
func (s *Server) StartupProbe(context.Context, *healthcheckpb.StartupProbeRequest) (*healthcheckpb.StartupProbeResponse, error)
Directories
¶
Path | Synopsis |
---|---|
Package dogfoodpb is a reverse proxy.
|
Package dogfoodpb is a reverse proxy. |
Package healthcheckpb is a reverse proxy.
|
Package healthcheckpb is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.