ld

package
Version: v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterUsedLanguagesServer

func RegisterUsedLanguagesServer(s *grpc.Server, srv UsedLanguagesServer)

Types

type BreakdownRequest

type BreakdownRequest struct {
	ProjectID  string `protobuf:"bytes,1,opt,name=projectID,proto3" json:"projectID,omitempty"`
	CommitHash string `protobuf:"bytes,2,opt,name=commitHash,proto3" json:"commitHash,omitempty"`
	// contains filtered or unexported fields
}

func (*BreakdownRequest) Descriptor deprecated

This method has been deprecated.
func (*BreakdownRequest) Descriptor() ([]byte, []int)

Deprecated: Use BreakdownRequest.ProtoReflect.Descriptor instead.

func (*BreakdownRequest) GetCommitHash

func (x *BreakdownRequest) GetCommitHash() string

func (*BreakdownRequest) GetProjectID

func (x *BreakdownRequest) GetProjectID() string

func (*BreakdownRequest) ProtoMessage

func (*BreakdownRequest) ProtoMessage()

func (*BreakdownRequest) ProtoReflect

func (x *BreakdownRequest) ProtoReflect() protoreflect.Message

func (*BreakdownRequest) Reset

func (x *BreakdownRequest) Reset()

func (*BreakdownRequest) String

func (x *BreakdownRequest) String() string

type BreakdownResponse

type BreakdownResponse struct {
	Breakdown []*Language `protobuf:"bytes,1,rep,name=breakdown,proto3" json:"breakdown,omitempty"`
	// contains filtered or unexported fields
}

func (*BreakdownResponse) Descriptor deprecated

This method has been deprecated.
func (*BreakdownResponse) Descriptor() ([]byte, []int)

Deprecated: Use BreakdownResponse.ProtoReflect.Descriptor instead.

func (*BreakdownResponse) GetBreakdown

func (x *BreakdownResponse) GetBreakdown() []*Language

func (*BreakdownResponse) ProtoMessage

func (*BreakdownResponse) ProtoMessage()

func (*BreakdownResponse) ProtoReflect

func (x *BreakdownResponse) ProtoReflect() protoreflect.Message

func (*BreakdownResponse) Reset

func (x *BreakdownResponse) Reset()

func (*BreakdownResponse) String

func (x *BreakdownResponse) String() string

type Language

type Language struct {
	Name  string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*Language) Descriptor deprecated

This method has been deprecated.
func (*Language) Descriptor() ([]byte, []int)

Deprecated: Use Language.ProtoReflect.Descriptor instead.

func (*Language) GetFiles

func (x *Language) GetFiles() []string

func (*Language) GetName

func (x *Language) GetName() string

func (*Language) ProtoMessage

func (*Language) ProtoMessage()

func (*Language) ProtoReflect

func (x *Language) ProtoReflect() protoreflect.Message

func (*Language) Reset

func (x *Language) Reset()

func (*Language) String

func (x *Language) String() string

type UnimplementedUsedLanguagesServer

type UnimplementedUsedLanguagesServer struct {
}

UnimplementedUsedLanguagesServer can be embedded to have forward compatible implementations.

func (*UnimplementedUsedLanguagesServer) Breakdown

type UsedLanguagesClient

type UsedLanguagesClient interface {
	Breakdown(ctx context.Context, in *BreakdownRequest, opts ...grpc.CallOption) (*BreakdownResponse, error)
}

UsedLanguagesClient is the client API for UsedLanguages service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type UsedLanguagesServer

type UsedLanguagesServer interface {
	Breakdown(context.Context, *BreakdownRequest) (*BreakdownResponse, error)
}

UsedLanguagesServer is the server API for UsedLanguages service.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL