Back to

Package execlog

Latest Go to latest

The latest major version is .

Published: Jul 31, 2020 | License: BSD-3-Clause | Module:


Package execlog provides goma execlog service implementation.



const DefaultMaxReqMsgSize = 10 * 1024 * 1024

DefaultMaxReqMsgSize is max request message size for execlog service. execlog server may receives > 8MB. grpc's default is 4MB.

type Client

type Client struct {
	// contains filtered or unexported fields

Client is a client to access execlog service via gRPC.

func NewClient

func NewClient(address string, opts ...grpc.DialOption) Client

NewClient creates new client to access execlog service serving on address.

func (Client) SaveLog

func (c Client) SaveLog(ctx context.Context, in *gomapb.SaveLogReq, opts ...grpc.CallOption) (*gomapb.SaveLogResp, error)

SaveLog saves requested execlog.

type Service

type Service struct {

Service represents goma execlog service.

func (Service) SaveLog

func (s Service) SaveLog(ctx context.Context, req *gomapb.SaveLogReq) (*gomapb.SaveLogResp, error)

SaveLog discards execlog. TODO: implement saving logic to GCS?

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier