Documentation ¶
Overview ¶
Package stats is the handler for the `vine debug stats` service
Index ¶
- type Stats
- func (s *Stats) Read(ctx context.Context, req *stats.ReadRequest, rsp *stats.ReadResponse) error
- func (s *Stats) Start(done <-chan bool)
- func (s *Stats) Stream(ctx context.Context, req *stats.StreamRequest, rsp stats.Stats_StreamStream) error
- func (s *Stats) Write(ctx context.Context, req *stats.WriteRequest, rsp *stats.WriteResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
Stats is the Debug.Stats handler
func (*Stats) Read ¶
func (s *Stats) Read(ctx context.Context, req *stats.ReadRequest, rsp *stats.ReadResponse) error
Read returns gets a snapshot of all current stats
func (*Stats) Stream ¶
func (s *Stats) Stream(ctx context.Context, req *stats.StreamRequest, rsp stats.Stats_StreamStream) error
Stream starts streaming stats
func (*Stats) Write ¶
func (s *Stats) Write(ctx context.Context, req *stats.WriteRequest, rsp *stats.WriteResponse) error
Click to show internal directories.
Click to hide internal directories.