Documentation ¶
Overview ¶
Package apidef is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func RegisterVanityImportServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVanityImportServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VanityImportServiceClient) error
- func RegisterVanityImportServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVanityImportServiceServer(s *grpc.Server, srv VanityImportServiceServer)
- type ImportMetaInfoReq
- func (*ImportMetaInfoReq) Descriptor() ([]byte, []int)
- func (m *ImportMetaInfoReq) GetImportPath() string
- func (*ImportMetaInfoReq) ProtoMessage()
- func (m *ImportMetaInfoReq) Reset()
- func (m *ImportMetaInfoReq) String() string
- func (m *ImportMetaInfoReq) XXX_DiscardUnknown()
- func (m *ImportMetaInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportMetaInfoReq) XXX_Merge(src proto.Message)
- func (m *ImportMetaInfoReq) XXX_Size() int
- func (m *ImportMetaInfoReq) XXX_Unmarshal(b []byte) error
- type ImportMetaInfoResp
- func (*ImportMetaInfoResp) Descriptor() ([]byte, []int)
- func (m *ImportMetaInfoResp) GetMetaInfo() *ModuleMetaInfo
- func (m *ImportMetaInfoResp) GetMsg() string
- func (m *ImportMetaInfoResp) GetRet() int32
- func (m *ImportMetaInfoResp) GetTraceId() string
- func (*ImportMetaInfoResp) ProtoMessage()
- func (m *ImportMetaInfoResp) Reset()
- func (m *ImportMetaInfoResp) String() string
- func (m *ImportMetaInfoResp) XXX_DiscardUnknown()
- func (m *ImportMetaInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ImportMetaInfoResp) XXX_Merge(src proto.Message)
- func (m *ImportMetaInfoResp) XXX_Size() int
- func (m *ImportMetaInfoResp) XXX_Unmarshal(b []byte) error
- type ModuleMetaInfo
- func (*ModuleMetaInfo) Descriptor() ([]byte, []int)
- func (m *ModuleMetaInfo) GetImportInfo() *VanityImportMetaInfo
- func (m *ModuleMetaInfo) GetSourceInfo() *SourceMetaInfo
- func (m *ModuleMetaInfo) GetSubImportDirs() []string
- func (*ModuleMetaInfo) ProtoMessage()
- func (m *ModuleMetaInfo) Reset()
- func (m *ModuleMetaInfo) String() string
- func (m *ModuleMetaInfo) XXX_DiscardUnknown()
- func (m *ModuleMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ModuleMetaInfo) XXX_Merge(src proto.Message)
- func (m *ModuleMetaInfo) XXX_Size() int
- func (m *ModuleMetaInfo) XXX_Unmarshal(b []byte) error
- type SourceMetaInfo
- func (*SourceMetaInfo) Descriptor() ([]byte, []int)
- func (m *SourceMetaInfo) GetDirPattern() string
- func (m *SourceMetaInfo) GetDocHost() string
- func (m *SourceMetaInfo) GetFilePattern() string
- func (m *SourceMetaInfo) GetHomeUrl() string
- func (m *SourceMetaInfo) GetModuleImportPath() string
- func (*SourceMetaInfo) ProtoMessage()
- func (m *SourceMetaInfo) Reset()
- func (m *SourceMetaInfo) String() string
- func (m *SourceMetaInfo) XXX_DiscardUnknown()
- func (m *SourceMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SourceMetaInfo) XXX_Merge(src proto.Message)
- func (m *SourceMetaInfo) XXX_Size() int
- func (m *SourceMetaInfo) XXX_Unmarshal(b []byte) error
- type SubImportDirToRoot
- func (*SubImportDirToRoot) Descriptor() ([]byte, []int)
- func (m *SubImportDirToRoot) GetRootImportDir() string
- func (m *SubImportDirToRoot) GetSubImportDir() string
- func (*SubImportDirToRoot) ProtoMessage()
- func (m *SubImportDirToRoot) Reset()
- func (m *SubImportDirToRoot) String() string
- func (m *SubImportDirToRoot) XXX_DiscardUnknown()
- func (m *SubImportDirToRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SubImportDirToRoot) XXX_Merge(src proto.Message)
- func (m *SubImportDirToRoot) XXX_Size() int
- func (m *SubImportDirToRoot) XXX_Unmarshal(b []byte) error
- type UpdateModuleMetaInfoReq
- func (*UpdateModuleMetaInfoReq) Descriptor() ([]byte, []int)
- func (m *UpdateModuleMetaInfoReq) GetAction() string
- func (m *UpdateModuleMetaInfoReq) GetMetaInfo() *ModuleMetaInfo
- func (*UpdateModuleMetaInfoReq) ProtoMessage()
- func (m *UpdateModuleMetaInfoReq) Reset()
- func (m *UpdateModuleMetaInfoReq) String() string
- func (m *UpdateModuleMetaInfoReq) XXX_DiscardUnknown()
- func (m *UpdateModuleMetaInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateModuleMetaInfoReq) XXX_Merge(src proto.Message)
- func (m *UpdateModuleMetaInfoReq) XXX_Size() int
- func (m *UpdateModuleMetaInfoReq) XXX_Unmarshal(b []byte) error
- type UpdateModuleMetaInfoResp
- func (*UpdateModuleMetaInfoResp) Descriptor() ([]byte, []int)
- func (m *UpdateModuleMetaInfoResp) GetMsg() string
- func (m *UpdateModuleMetaInfoResp) GetRet() int32
- func (m *UpdateModuleMetaInfoResp) GetTraceId() string
- func (*UpdateModuleMetaInfoResp) ProtoMessage()
- func (m *UpdateModuleMetaInfoResp) Reset()
- func (m *UpdateModuleMetaInfoResp) String() string
- func (m *UpdateModuleMetaInfoResp) XXX_DiscardUnknown()
- func (m *UpdateModuleMetaInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateModuleMetaInfoResp) XXX_Merge(src proto.Message)
- func (m *UpdateModuleMetaInfoResp) XXX_Size() int
- func (m *UpdateModuleMetaInfoResp) XXX_Unmarshal(b []byte) error
- type VanityImportMetaInfo
- func (*VanityImportMetaInfo) Descriptor() ([]byte, []int)
- func (m *VanityImportMetaInfo) GetModuleImportPath() string
- func (m *VanityImportMetaInfo) GetRepoUrl() string
- func (m *VanityImportMetaInfo) GetVcs() string
- func (*VanityImportMetaInfo) ProtoMessage()
- func (m *VanityImportMetaInfo) Reset()
- func (m *VanityImportMetaInfo) String() string
- func (m *VanityImportMetaInfo) XXX_DiscardUnknown()
- func (m *VanityImportMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *VanityImportMetaInfo) XXX_Merge(src proto.Message)
- func (m *VanityImportMetaInfo) XXX_Size() int
- func (m *VanityImportMetaInfo) XXX_Unmarshal(b []byte) error
- type VanityImportServiceClient
- type VanityImportServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVanityImportServiceHandler ¶
func RegisterVanityImportServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVanityImportServiceHandler registers the http handlers for service VanityImportService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVanityImportServiceHandlerClient ¶
func RegisterVanityImportServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VanityImportServiceClient) error
RegisterVanityImportServiceHandlerClient registers the http handlers for service VanityImportService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VanityImportServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VanityImportServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VanityImportServiceClient" to call the correct interceptors.
func RegisterVanityImportServiceHandlerFromEndpoint ¶
func RegisterVanityImportServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVanityImportServiceHandlerFromEndpoint is same as RegisterVanityImportServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVanityImportServiceServer ¶
func RegisterVanityImportServiceServer(s *grpc.Server, srv VanityImportServiceServer)
Types ¶
type ImportMetaInfoReq ¶
type ImportMetaInfoReq struct { ImportPath string `protobuf:"bytes,1,opt,name=import_path,json=importPath,proto3" json:"import_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportMetaInfoReq) Descriptor ¶
func (*ImportMetaInfoReq) Descriptor() ([]byte, []int)
func (*ImportMetaInfoReq) GetImportPath ¶
func (m *ImportMetaInfoReq) GetImportPath() string
func (*ImportMetaInfoReq) ProtoMessage ¶
func (*ImportMetaInfoReq) ProtoMessage()
func (*ImportMetaInfoReq) Reset ¶
func (m *ImportMetaInfoReq) Reset()
func (*ImportMetaInfoReq) String ¶
func (m *ImportMetaInfoReq) String() string
func (*ImportMetaInfoReq) XXX_DiscardUnknown ¶
func (m *ImportMetaInfoReq) XXX_DiscardUnknown()
func (*ImportMetaInfoReq) XXX_Marshal ¶
func (m *ImportMetaInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportMetaInfoReq) XXX_Merge ¶
func (dst *ImportMetaInfoReq) XXX_Merge(src proto.Message)
func (*ImportMetaInfoReq) XXX_Size ¶
func (m *ImportMetaInfoReq) XXX_Size() int
func (*ImportMetaInfoReq) XXX_Unmarshal ¶
func (m *ImportMetaInfoReq) XXX_Unmarshal(b []byte) error
type ImportMetaInfoResp ¶
type ImportMetaInfoResp struct { Ret int32 `protobuf:"varint,1,opt,name=ret,proto3" json:"ret,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` MetaInfo *ModuleMetaInfo `protobuf:"bytes,4,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ImportMetaInfoResp) Descriptor ¶
func (*ImportMetaInfoResp) Descriptor() ([]byte, []int)
func (*ImportMetaInfoResp) GetMetaInfo ¶
func (m *ImportMetaInfoResp) GetMetaInfo() *ModuleMetaInfo
func (*ImportMetaInfoResp) GetMsg ¶
func (m *ImportMetaInfoResp) GetMsg() string
func (*ImportMetaInfoResp) GetRet ¶
func (m *ImportMetaInfoResp) GetRet() int32
func (*ImportMetaInfoResp) GetTraceId ¶
func (m *ImportMetaInfoResp) GetTraceId() string
func (*ImportMetaInfoResp) ProtoMessage ¶
func (*ImportMetaInfoResp) ProtoMessage()
func (*ImportMetaInfoResp) Reset ¶
func (m *ImportMetaInfoResp) Reset()
func (*ImportMetaInfoResp) String ¶
func (m *ImportMetaInfoResp) String() string
func (*ImportMetaInfoResp) XXX_DiscardUnknown ¶
func (m *ImportMetaInfoResp) XXX_DiscardUnknown()
func (*ImportMetaInfoResp) XXX_Marshal ¶
func (m *ImportMetaInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ImportMetaInfoResp) XXX_Merge ¶
func (dst *ImportMetaInfoResp) XXX_Merge(src proto.Message)
func (*ImportMetaInfoResp) XXX_Size ¶
func (m *ImportMetaInfoResp) XXX_Size() int
func (*ImportMetaInfoResp) XXX_Unmarshal ¶
func (m *ImportMetaInfoResp) XXX_Unmarshal(b []byte) error
type ModuleMetaInfo ¶
type ModuleMetaInfo struct { ImportInfo *VanityImportMetaInfo `protobuf:"bytes,1,opt,name=import_info,json=importInfo,proto3" json:"import_info,omitempty"` SourceInfo *SourceMetaInfo `protobuf:"bytes,2,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` SubImportDirs []string `protobuf:"bytes,3,rep,name=sub_import_dirs,json=subImportDirs,proto3" json:"sub_import_dirs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModuleMetaInfo) Descriptor ¶
func (*ModuleMetaInfo) Descriptor() ([]byte, []int)
func (*ModuleMetaInfo) GetImportInfo ¶
func (m *ModuleMetaInfo) GetImportInfo() *VanityImportMetaInfo
func (*ModuleMetaInfo) GetSourceInfo ¶
func (m *ModuleMetaInfo) GetSourceInfo() *SourceMetaInfo
func (*ModuleMetaInfo) GetSubImportDirs ¶
func (m *ModuleMetaInfo) GetSubImportDirs() []string
func (*ModuleMetaInfo) ProtoMessage ¶
func (*ModuleMetaInfo) ProtoMessage()
func (*ModuleMetaInfo) Reset ¶
func (m *ModuleMetaInfo) Reset()
func (*ModuleMetaInfo) String ¶
func (m *ModuleMetaInfo) String() string
func (*ModuleMetaInfo) XXX_DiscardUnknown ¶
func (m *ModuleMetaInfo) XXX_DiscardUnknown()
func (*ModuleMetaInfo) XXX_Marshal ¶
func (m *ModuleMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModuleMetaInfo) XXX_Merge ¶
func (dst *ModuleMetaInfo) XXX_Merge(src proto.Message)
func (*ModuleMetaInfo) XXX_Size ¶
func (m *ModuleMetaInfo) XXX_Size() int
func (*ModuleMetaInfo) XXX_Unmarshal ¶
func (m *ModuleMetaInfo) XXX_Unmarshal(b []byte) error
type SourceMetaInfo ¶
type SourceMetaInfo struct { ModuleImportPath string `protobuf:"bytes,1,opt,name=module_import_path,json=moduleImportPath,proto3" json:"module_import_path,omitempty"` HomeUrl string `protobuf:"bytes,2,opt,name=home_url,json=homeUrl,proto3" json:"home_url,omitempty"` DirPattern string `protobuf:"bytes,3,opt,name=dir_pattern,json=dirPattern,proto3" json:"dir_pattern,omitempty"` FilePattern string `protobuf:"bytes,4,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"` DocHost string `protobuf:"bytes,5,opt,name=doc_host,json=docHost,proto3" json:"doc_host,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SourceMetaInfo) Descriptor ¶
func (*SourceMetaInfo) Descriptor() ([]byte, []int)
func (*SourceMetaInfo) GetDirPattern ¶
func (m *SourceMetaInfo) GetDirPattern() string
func (*SourceMetaInfo) GetDocHost ¶
func (m *SourceMetaInfo) GetDocHost() string
func (*SourceMetaInfo) GetFilePattern ¶
func (m *SourceMetaInfo) GetFilePattern() string
func (*SourceMetaInfo) GetHomeUrl ¶
func (m *SourceMetaInfo) GetHomeUrl() string
func (*SourceMetaInfo) GetModuleImportPath ¶
func (m *SourceMetaInfo) GetModuleImportPath() string
func (*SourceMetaInfo) ProtoMessage ¶
func (*SourceMetaInfo) ProtoMessage()
func (*SourceMetaInfo) Reset ¶
func (m *SourceMetaInfo) Reset()
func (*SourceMetaInfo) String ¶
func (m *SourceMetaInfo) String() string
func (*SourceMetaInfo) XXX_DiscardUnknown ¶
func (m *SourceMetaInfo) XXX_DiscardUnknown()
func (*SourceMetaInfo) XXX_Marshal ¶
func (m *SourceMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceMetaInfo) XXX_Merge ¶
func (dst *SourceMetaInfo) XXX_Merge(src proto.Message)
func (*SourceMetaInfo) XXX_Size ¶
func (m *SourceMetaInfo) XXX_Size() int
func (*SourceMetaInfo) XXX_Unmarshal ¶
func (m *SourceMetaInfo) XXX_Unmarshal(b []byte) error
type SubImportDirToRoot ¶
type SubImportDirToRoot struct { SubImportDir string `protobuf:"bytes,1,opt,name=sub_import_dir,json=subImportDir,proto3" json:"sub_import_dir,omitempty"` RootImportDir string `protobuf:"bytes,2,opt,name=root_import_dir,json=rootImportDir,proto3" json:"root_import_dir,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubImportDirToRoot) Descriptor ¶
func (*SubImportDirToRoot) Descriptor() ([]byte, []int)
func (*SubImportDirToRoot) GetRootImportDir ¶
func (m *SubImportDirToRoot) GetRootImportDir() string
func (*SubImportDirToRoot) GetSubImportDir ¶
func (m *SubImportDirToRoot) GetSubImportDir() string
func (*SubImportDirToRoot) ProtoMessage ¶
func (*SubImportDirToRoot) ProtoMessage()
func (*SubImportDirToRoot) Reset ¶
func (m *SubImportDirToRoot) Reset()
func (*SubImportDirToRoot) String ¶
func (m *SubImportDirToRoot) String() string
func (*SubImportDirToRoot) XXX_DiscardUnknown ¶
func (m *SubImportDirToRoot) XXX_DiscardUnknown()
func (*SubImportDirToRoot) XXX_Marshal ¶
func (m *SubImportDirToRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubImportDirToRoot) XXX_Merge ¶
func (dst *SubImportDirToRoot) XXX_Merge(src proto.Message)
func (*SubImportDirToRoot) XXX_Size ¶
func (m *SubImportDirToRoot) XXX_Size() int
func (*SubImportDirToRoot) XXX_Unmarshal ¶
func (m *SubImportDirToRoot) XXX_Unmarshal(b []byte) error
type UpdateModuleMetaInfoReq ¶
type UpdateModuleMetaInfoReq struct { Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` MetaInfo *ModuleMetaInfo `protobuf:"bytes,2,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateModuleMetaInfoReq) Descriptor ¶
func (*UpdateModuleMetaInfoReq) Descriptor() ([]byte, []int)
func (*UpdateModuleMetaInfoReq) GetAction ¶
func (m *UpdateModuleMetaInfoReq) GetAction() string
func (*UpdateModuleMetaInfoReq) GetMetaInfo ¶
func (m *UpdateModuleMetaInfoReq) GetMetaInfo() *ModuleMetaInfo
func (*UpdateModuleMetaInfoReq) ProtoMessage ¶
func (*UpdateModuleMetaInfoReq) ProtoMessage()
func (*UpdateModuleMetaInfoReq) Reset ¶
func (m *UpdateModuleMetaInfoReq) Reset()
func (*UpdateModuleMetaInfoReq) String ¶
func (m *UpdateModuleMetaInfoReq) String() string
func (*UpdateModuleMetaInfoReq) XXX_DiscardUnknown ¶
func (m *UpdateModuleMetaInfoReq) XXX_DiscardUnknown()
func (*UpdateModuleMetaInfoReq) XXX_Marshal ¶
func (m *UpdateModuleMetaInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateModuleMetaInfoReq) XXX_Merge ¶
func (dst *UpdateModuleMetaInfoReq) XXX_Merge(src proto.Message)
func (*UpdateModuleMetaInfoReq) XXX_Size ¶
func (m *UpdateModuleMetaInfoReq) XXX_Size() int
func (*UpdateModuleMetaInfoReq) XXX_Unmarshal ¶
func (m *UpdateModuleMetaInfoReq) XXX_Unmarshal(b []byte) error
type UpdateModuleMetaInfoResp ¶
type UpdateModuleMetaInfoResp struct { Ret int32 `protobuf:"varint,1,opt,name=ret,proto3" json:"ret,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateModuleMetaInfoResp) Descriptor ¶
func (*UpdateModuleMetaInfoResp) Descriptor() ([]byte, []int)
func (*UpdateModuleMetaInfoResp) GetMsg ¶
func (m *UpdateModuleMetaInfoResp) GetMsg() string
func (*UpdateModuleMetaInfoResp) GetRet ¶
func (m *UpdateModuleMetaInfoResp) GetRet() int32
func (*UpdateModuleMetaInfoResp) GetTraceId ¶
func (m *UpdateModuleMetaInfoResp) GetTraceId() string
func (*UpdateModuleMetaInfoResp) ProtoMessage ¶
func (*UpdateModuleMetaInfoResp) ProtoMessage()
func (*UpdateModuleMetaInfoResp) Reset ¶
func (m *UpdateModuleMetaInfoResp) Reset()
func (*UpdateModuleMetaInfoResp) String ¶
func (m *UpdateModuleMetaInfoResp) String() string
func (*UpdateModuleMetaInfoResp) XXX_DiscardUnknown ¶
func (m *UpdateModuleMetaInfoResp) XXX_DiscardUnknown()
func (*UpdateModuleMetaInfoResp) XXX_Marshal ¶
func (m *UpdateModuleMetaInfoResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateModuleMetaInfoResp) XXX_Merge ¶
func (dst *UpdateModuleMetaInfoResp) XXX_Merge(src proto.Message)
func (*UpdateModuleMetaInfoResp) XXX_Size ¶
func (m *UpdateModuleMetaInfoResp) XXX_Size() int
func (*UpdateModuleMetaInfoResp) XXX_Unmarshal ¶
func (m *UpdateModuleMetaInfoResp) XXX_Unmarshal(b []byte) error
type VanityImportMetaInfo ¶
type VanityImportMetaInfo struct { ModuleImportPath string `protobuf:"bytes,1,opt,name=module_import_path,json=moduleImportPath,proto3" json:"module_import_path,omitempty"` Vcs string `protobuf:"bytes,2,opt,name=vcs,proto3" json:"vcs,omitempty"` RepoUrl string `protobuf:"bytes,3,opt,name=repo_url,json=repoUrl,proto3" json:"repo_url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VanityImportMetaInfo) Descriptor ¶
func (*VanityImportMetaInfo) Descriptor() ([]byte, []int)
func (*VanityImportMetaInfo) GetModuleImportPath ¶
func (m *VanityImportMetaInfo) GetModuleImportPath() string
func (*VanityImportMetaInfo) GetRepoUrl ¶
func (m *VanityImportMetaInfo) GetRepoUrl() string
func (*VanityImportMetaInfo) GetVcs ¶
func (m *VanityImportMetaInfo) GetVcs() string
func (*VanityImportMetaInfo) ProtoMessage ¶
func (*VanityImportMetaInfo) ProtoMessage()
func (*VanityImportMetaInfo) Reset ¶
func (m *VanityImportMetaInfo) Reset()
func (*VanityImportMetaInfo) String ¶
func (m *VanityImportMetaInfo) String() string
func (*VanityImportMetaInfo) XXX_DiscardUnknown ¶
func (m *VanityImportMetaInfo) XXX_DiscardUnknown()
func (*VanityImportMetaInfo) XXX_Marshal ¶
func (m *VanityImportMetaInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VanityImportMetaInfo) XXX_Merge ¶
func (dst *VanityImportMetaInfo) XXX_Merge(src proto.Message)
func (*VanityImportMetaInfo) XXX_Size ¶
func (m *VanityImportMetaInfo) XXX_Size() int
func (*VanityImportMetaInfo) XXX_Unmarshal ¶
func (m *VanityImportMetaInfo) XXX_Unmarshal(b []byte) error
type VanityImportServiceClient ¶
type VanityImportServiceClient interface { QueryImportMetaInfo(ctx context.Context, in *ImportMetaInfoReq, opts ...grpc.CallOption) (*ImportMetaInfoResp, error) UpdateModuleMetaInfo(ctx context.Context, in *UpdateModuleMetaInfoReq, opts ...grpc.CallOption) (*UpdateModuleMetaInfoResp, error) }
VanityImportServiceClient is the client API for VanityImportService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVanityImportServiceClient ¶
func NewVanityImportServiceClient(cc *grpc.ClientConn) VanityImportServiceClient
type VanityImportServiceServer ¶
type VanityImportServiceServer interface { QueryImportMetaInfo(context.Context, *ImportMetaInfoReq) (*ImportMetaInfoResp, error) UpdateModuleMetaInfo(context.Context, *UpdateModuleMetaInfoReq) (*UpdateModuleMetaInfoResp, error) }
VanityImportServiceServer is the server API for VanityImportService service.