Documentation ¶
Overview ¶
Package api provides the web interface
Package api provides the web interface ¶
Package api provides the web interface ¶
Package api provides the web interface ¶
Package api provides the web interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResponseWriter ¶
func NewResponseWriter(w http.ResponseWriter) *responseWriter
Types ¶
type Config ¶
func (*Config) GrpcListen ¶
type JSONPayload ¶
JSONPayload is the type for json posted to this api
type LogServer ¶
type LogServer struct { pb.UnimplementedLogServiceServer Models data.Models }
LogServer is type used for writing to the log via gRPC
func (*LogServer) WriteLog ¶
func (l *LogServer) WriteLog(ctx context.Context, req *pb.LogRequest) (*pb.LogResponse, error)
WriteLog writes the log after receiving a call from a gRPC client
Click to show internal directories.
Click to hide internal directories.