plugin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_ContentType = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50006,
	Name:          "plugin.content_type",
	Tag:           "bytes,50006,opt,name=content_type",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_Contract = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*go_proto_giraffe.Contract)(nil),
	Field:         72295000,
	Name:          "plugin.contract",
	Tag:           "bytes,72295000,opt,name=contract",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_ContractName = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50002,
	Name:          "plugin.contract_name",
	Tag:           "bytes,50002,opt,name=contract_name",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_ContractVersion = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50003,
	Name:          "plugin.contract_version",
	Tag:           "bytes,50003,opt,name=contract_version",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_DataField = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50004,
	Name:          "plugin.data_field",
	Tag:           "bytes,50004,opt,name=data_field",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_Http = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*go_proto_giraffe.HttpRule)(nil),
	Field:         72295728,
	Name:          "plugin.http",
	Tag:           "bytes,72295728,opt,name=http",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_QueryField = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50005,
	Name:          "plugin.query_field",
	Tag:           "bytes,50005,opt,name=query_field",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var E_UrlPattern = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50001,
	Name:          "plugin.url_pattern",
	Tag:           "bytes,50001,opt,name=url_pattern",
	Filename:      "github.com/easyops-cn/go-proto-giraffe/plugin/extension.proto",
}
View Source
var UseGogoImport = func(g *giraffeMicro) {
	g.useGogoImport = true
}

Functions

func NewPlugin

func NewPlugin(opts ...Option) generator.Plugin

Types

type Option

type Option func(g *giraffeMicro)

Jump to

Keyboard shortcuts

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