Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpUnknown = unknown operation type OpUnknown = iota // OpAccessor = accessor operation type (ready only) OpAccessor // OpMutator = mutator operation type (modifies a repository) OpMutator )
Variables ¶
View Source
var GitalyProtoFileDescriptors []*descriptor.FileDescriptorProto
GitalyProtoFileDescriptors is a slice of all gitaly registered file descriptors
Functions ¶
This section is empty.
Types ¶
type MethodInfo ¶
type MethodInfo struct {
Operation OpType
}
MethodInfo contains metadata about the RPC method
type Registry ¶
Registry contains info about RPC methods
func (*Registry) LookupMethod ¶
func (pr *Registry) LookupMethod(service, method string) (MethodInfo, error)
LookupMethod looks up an MethodInfo by service and method name
func (*Registry) RegisterFiles ¶
func (pr *Registry) RegisterFiles(protos ...*descriptor.FileDescriptorProto) error
RegisterFiles takes one or more descriptor.FileDescriptorProto and populates the registry with its info
Click to show internal directories.
Click to hide internal directories.