samplrapi

package
v0.0.0-...-89f4574 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNilPageToken is returned when a PageToken is nil
	ErrNilPageToken = errors.New("nil PageToken")
)

Functions

This section is empty.

Types

type SampleServiceServer

type SampleServiceServer struct {
	// contains filtered or unexported fields
}

SampleServiceServer is an implementation of drghs_v1.SampleServiceServer

func NewSampleServiceServer

func NewSampleServiceServer(c *samplr.Corpus) *SampleServiceServer

NewSampleServiceServer builds and returns a new SampleServiceServer

func (*SampleServiceServer) GetGitCommit

GetGitCommit returns the requested GitCommit (UNIMPLEMENTED)

func (*SampleServiceServer) ListFiles

ListFiles returns the files in a given GitCommit (UNIMPLEMENTED)

func (*SampleServiceServer) ListGitCommits

ListGitCommits returns the list of git commits for the given owner

func (*SampleServiceServer) ListRepositories

ListRepositories returns the list of Repositories tracked by the Corpus

func (*SampleServiceServer) ListSnippetVersions

ListSnippetVersions retruns the SnippetVersions for the given Parent.

func (*SampleServiceServer) ListSnippets

ListSnippets returns the Snippets in the given Parent.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL