Documentation ¶
Overview ¶
Package fakesdl provides a fake for Stackdriver Logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { // embed the GRPCLoggingServiceV2Server interface for non-implemented methods. lgrpcpb.LoggingServiceV2Server // Logs that have been sent to the server. Logs []*lpb.WriteLogEntriesRequest }
Server is a fake logging server.
func (*Server) WriteLogEntries ¶
func (l *Server) WriteLogEntries(ctx context.Context, req *lpb.WriteLogEntriesRequest) (*lpb.WriteLogEntriesResponse, error)
WriteLogEntries stores the logs.
Click to show internal directories.
Click to hide internal directories.