path

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EnumPathRequest_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "OK",
		2: "CANCELLED",
		3: "UNKNOWN_ERROR",
	}
	EnumPathRequest_Status_value = map[string]int32{
		"UNKNOWN":       0,
		"OK":            1,
		"CANCELLED":     2,
		"UNKNOWN_ERROR": 3,
	}
)

Enum value maps for EnumPathRequest_Status.

View Source
var File_path_path_proto protoreflect.FileDescriptor

Functions

func AppendBoolPathGorillaRoute

func AppendBoolPathGorillaRoute(router *mux.Router, service BoolPathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendDoublePathGorillaRoute

func AppendDoublePathGorillaRoute(router *mux.Router, service DoublePathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendEnumPathGorillaRoute

func AppendEnumPathGorillaRoute(router *mux.Router, service EnumPathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendFloatPathGorillaRoute

func AppendFloatPathGorillaRoute(router *mux.Router, service FloatPathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendInt32PathGorillaRoute

func AppendInt32PathGorillaRoute(router *mux.Router, service Int32PathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendInt64PathGorillaRoute

func AppendInt64PathGorillaRoute(router *mux.Router, service Int64PathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendStringPathGorillaRoute

func AppendStringPathGorillaRoute(router *mux.Router, service StringPathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendUint32PathGorillaRoute

func AppendUint32PathGorillaRoute(router *mux.Router, service Uint32PathGorillaService, opts ...gorilla.Option) *mux.Router

func AppendUint64PathGorillaRoute

func AppendUint64PathGorillaRoute(router *mux.Router, service Uint64PathGorillaService, opts ...gorilla.Option) *mux.Router

Types

type BoolPathGorillaService

type BoolPathGorillaService interface {
	BoolPath(ctx context.Context, request *BoolPathRequest) (*httpbody.HttpBody, error)
}

type BoolPathRequest

type BoolPathRequest struct {
	Bool     bool                  `protobuf:"varint,1,opt,name=bool,proto3" json:"bool,omitempty"`
	OptBool  *bool                 `protobuf:"varint,2,opt,name=opt_bool,json=optBool,proto3,oneof" json:"opt_bool,omitempty"`
	WrapBool *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=wrap_bool,json=wrapBool,proto3" json:"wrap_bool,omitempty"`
	// contains filtered or unexported fields
}

func (*BoolPathRequest) Descriptor deprecated

func (*BoolPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use BoolPathRequest.ProtoReflect.Descriptor instead.

func (*BoolPathRequest) GetBool

func (x *BoolPathRequest) GetBool() bool

func (*BoolPathRequest) GetOptBool

func (x *BoolPathRequest) GetOptBool() bool

func (*BoolPathRequest) GetWrapBool

func (x *BoolPathRequest) GetWrapBool() *wrapperspb.BoolValue

func (*BoolPathRequest) ProtoMessage

func (*BoolPathRequest) ProtoMessage()

func (*BoolPathRequest) ProtoReflect

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

func (*BoolPathRequest) Reset

func (x *BoolPathRequest) Reset()

func (*BoolPathRequest) String

func (x *BoolPathRequest) String() string

type DoublePathGorillaService

type DoublePathGorillaService interface {
	DoublePath(ctx context.Context, request *DoublePathRequest) (*httpbody.HttpBody, error)
}

type DoublePathRequest

type DoublePathRequest struct {
	Double     float64                 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"`
	OptDouble  *float64                `protobuf:"fixed64,2,opt,name=opt_double,json=optDouble,proto3,oneof" json:"opt_double,omitempty"`
	WrapDouble *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=wrap_double,json=wrapDouble,proto3" json:"wrap_double,omitempty"`
	// contains filtered or unexported fields
}

func (*DoublePathRequest) Descriptor deprecated

func (*DoublePathRequest) Descriptor() ([]byte, []int)

Deprecated: Use DoublePathRequest.ProtoReflect.Descriptor instead.

func (*DoublePathRequest) GetDouble

func (x *DoublePathRequest) GetDouble() float64

func (*DoublePathRequest) GetOptDouble

func (x *DoublePathRequest) GetOptDouble() float64

func (*DoublePathRequest) GetWrapDouble

func (x *DoublePathRequest) GetWrapDouble() *wrapperspb.DoubleValue

func (*DoublePathRequest) ProtoMessage

func (*DoublePathRequest) ProtoMessage()

func (*DoublePathRequest) ProtoReflect

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

func (*DoublePathRequest) Reset

func (x *DoublePathRequest) Reset()

func (*DoublePathRequest) String

func (x *DoublePathRequest) String() string

type EnumPathGorillaService

type EnumPathGorillaService interface {
	EnumPath(ctx context.Context, request *EnumPathRequest) (*httpbody.HttpBody, error)
}

type EnumPathRequest

type EnumPathRequest struct {
	Status    EnumPathRequest_Status  `protobuf:"varint,1,opt,name=status,proto3,enum=leo.gorilla.example.path.v1.EnumPathRequest_Status" json:"status,omitempty"`
	OptStatus *EnumPathRequest_Status `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EnumPathRequest) Descriptor deprecated

func (*EnumPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnumPathRequest.ProtoReflect.Descriptor instead.

func (*EnumPathRequest) GetOptStatus

func (x *EnumPathRequest) GetOptStatus() EnumPathRequest_Status

func (*EnumPathRequest) GetStatus

func (x *EnumPathRequest) GetStatus() EnumPathRequest_Status

func (*EnumPathRequest) ProtoMessage

func (*EnumPathRequest) ProtoMessage()

func (*EnumPathRequest) ProtoReflect

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

func (*EnumPathRequest) Reset

func (x *EnumPathRequest) Reset()

func (*EnumPathRequest) String

func (x *EnumPathRequest) String() string

type EnumPathRequest_Status

type EnumPathRequest_Status int32
const (
	EnumPathRequest_UNKNOWN       EnumPathRequest_Status = 0
	EnumPathRequest_OK            EnumPathRequest_Status = 1
	EnumPathRequest_CANCELLED     EnumPathRequest_Status = 2
	EnumPathRequest_UNKNOWN_ERROR EnumPathRequest_Status = 3
)

func (EnumPathRequest_Status) Descriptor

func (EnumPathRequest_Status) Enum

func (EnumPathRequest_Status) EnumDescriptor deprecated

func (EnumPathRequest_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnumPathRequest_Status.Descriptor instead.

func (EnumPathRequest_Status) Number

func (EnumPathRequest_Status) String

func (x EnumPathRequest_Status) String() string

func (EnumPathRequest_Status) Type

type FloatPathGorillaService

type FloatPathGorillaService interface {
	FloatPath(ctx context.Context, request *FloatPathRequest) (*httpbody.HttpBody, error)
}

type FloatPathRequest

type FloatPathRequest struct {
	Float     float32                `protobuf:"fixed32,1,opt,name=float,proto3" json:"float,omitempty"`
	OptFloat  *float32               `protobuf:"fixed32,2,opt,name=opt_float,json=optFloat,proto3,oneof" json:"opt_float,omitempty"`
	WrapFloat *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=wrap_float,json=wrapFloat,proto3" json:"wrap_float,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatPathRequest) Descriptor deprecated

func (*FloatPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use FloatPathRequest.ProtoReflect.Descriptor instead.

func (*FloatPathRequest) GetFloat

func (x *FloatPathRequest) GetFloat() float32

func (*FloatPathRequest) GetOptFloat

func (x *FloatPathRequest) GetOptFloat() float32

func (*FloatPathRequest) GetWrapFloat

func (x *FloatPathRequest) GetWrapFloat() *wrapperspb.FloatValue

func (*FloatPathRequest) ProtoMessage

func (*FloatPathRequest) ProtoMessage()

func (*FloatPathRequest) ProtoReflect

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

func (*FloatPathRequest) Reset

func (x *FloatPathRequest) Reset()

func (*FloatPathRequest) String

func (x *FloatPathRequest) String() string

type Int32PathGorillaService

type Int32PathGorillaService interface {
	Int32Path(ctx context.Context, request *Int32PathRequest) (*httpbody.HttpBody, error)
}

type Int32PathRequest

type Int32PathRequest struct {
	Int32       int32                  `protobuf:"varint,1,opt,name=int32,proto3" json:"int32,omitempty"`
	Sint32      int32                  `protobuf:"zigzag32,2,opt,name=sint32,proto3" json:"sint32,omitempty"`
	Sfixed32    int32                  `protobuf:"fixed32,3,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"`
	OptInt32    *int32                 `protobuf:"varint,4,opt,name=opt_int32,json=optInt32,proto3,oneof" json:"opt_int32,omitempty"`
	OptSint32   *int32                 `protobuf:"zigzag32,5,opt,name=opt_sint32,json=optSint32,proto3,oneof" json:"opt_sint32,omitempty"`
	OptSfixed32 *int32                 `protobuf:"fixed32,6,opt,name=opt_sfixed32,json=optSfixed32,proto3,oneof" json:"opt_sfixed32,omitempty"`
	WrapInt32   *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=wrap_int32,json=wrapInt32,proto3" json:"wrap_int32,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32PathRequest) Descriptor deprecated

func (*Int32PathRequest) Descriptor() ([]byte, []int)

Deprecated: Use Int32PathRequest.ProtoReflect.Descriptor instead.

func (*Int32PathRequest) GetInt32

func (x *Int32PathRequest) GetInt32() int32

func (*Int32PathRequest) GetOptInt32

func (x *Int32PathRequest) GetOptInt32() int32

func (*Int32PathRequest) GetOptSfixed32

func (x *Int32PathRequest) GetOptSfixed32() int32

func (*Int32PathRequest) GetOptSint32

func (x *Int32PathRequest) GetOptSint32() int32

func (*Int32PathRequest) GetSfixed32

func (x *Int32PathRequest) GetSfixed32() int32

func (*Int32PathRequest) GetSint32

func (x *Int32PathRequest) GetSint32() int32

func (*Int32PathRequest) GetWrapInt32

func (x *Int32PathRequest) GetWrapInt32() *wrapperspb.Int32Value

func (*Int32PathRequest) ProtoMessage

func (*Int32PathRequest) ProtoMessage()

func (*Int32PathRequest) ProtoReflect

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

func (*Int32PathRequest) Reset

func (x *Int32PathRequest) Reset()

func (*Int32PathRequest) String

func (x *Int32PathRequest) String() string

type Int64PathGorillaService

type Int64PathGorillaService interface {
	Int64Path(ctx context.Context, request *Int64PathRequest) (*httpbody.HttpBody, error)
}

type Int64PathRequest

type Int64PathRequest struct {
	Int64       int64                  `protobuf:"varint,1,opt,name=int64,proto3" json:"int64,omitempty"`
	Sint64      int64                  `protobuf:"zigzag64,2,opt,name=sint64,proto3" json:"sint64,omitempty"`
	Sfixed64    int64                  `protobuf:"fixed64,3,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"`
	OptInt64    *int64                 `protobuf:"varint,4,opt,name=opt_int64,json=optInt64,proto3,oneof" json:"opt_int64,omitempty"`
	OptSint64   *int64                 `protobuf:"zigzag64,5,opt,name=opt_sint64,json=optSint64,proto3,oneof" json:"opt_sint64,omitempty"`
	OptSfixed64 *int64                 `protobuf:"fixed64,6,opt,name=opt_sfixed64,json=optSfixed64,proto3,oneof" json:"opt_sfixed64,omitempty"`
	WrapInt64   *wrapperspb.Int64Value `protobuf:"bytes,7,opt,name=wrap_int64,json=wrapInt64,proto3" json:"wrap_int64,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64PathRequest) Descriptor deprecated

func (*Int64PathRequest) Descriptor() ([]byte, []int)

Deprecated: Use Int64PathRequest.ProtoReflect.Descriptor instead.

func (*Int64PathRequest) GetInt64

func (x *Int64PathRequest) GetInt64() int64

func (*Int64PathRequest) GetOptInt64

func (x *Int64PathRequest) GetOptInt64() int64

func (*Int64PathRequest) GetOptSfixed64

func (x *Int64PathRequest) GetOptSfixed64() int64

func (*Int64PathRequest) GetOptSint64

func (x *Int64PathRequest) GetOptSint64() int64

func (*Int64PathRequest) GetSfixed64

func (x *Int64PathRequest) GetSfixed64() int64

func (*Int64PathRequest) GetSint64

func (x *Int64PathRequest) GetSint64() int64

func (*Int64PathRequest) GetWrapInt64

func (x *Int64PathRequest) GetWrapInt64() *wrapperspb.Int64Value

func (*Int64PathRequest) ProtoMessage

func (*Int64PathRequest) ProtoMessage()

func (*Int64PathRequest) ProtoReflect

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

func (*Int64PathRequest) Reset

func (x *Int64PathRequest) Reset()

func (*Int64PathRequest) String

func (x *Int64PathRequest) String() string

type StringPathGorillaService

type StringPathGorillaService interface {
	StringPath(ctx context.Context, request *StringPathRequest) (*httpbody.HttpBody, error)
}

type StringPathRequest

type StringPathRequest struct {
	String_    string                  `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"`
	OptString  *string                 `protobuf:"bytes,2,opt,name=opt_string,json=optString,proto3,oneof" json:"opt_string,omitempty"`
	WrapString *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=wrap_string,json=wrapString,proto3" json:"wrap_string,omitempty"`
	// contains filtered or unexported fields
}

func (*StringPathRequest) Descriptor deprecated

func (*StringPathRequest) Descriptor() ([]byte, []int)

Deprecated: Use StringPathRequest.ProtoReflect.Descriptor instead.

func (*StringPathRequest) GetOptString

func (x *StringPathRequest) GetOptString() string

func (*StringPathRequest) GetString_

func (x *StringPathRequest) GetString_() string

func (*StringPathRequest) GetWrapString

func (x *StringPathRequest) GetWrapString() *wrapperspb.StringValue

func (*StringPathRequest) ProtoMessage

func (*StringPathRequest) ProtoMessage()

func (*StringPathRequest) ProtoReflect

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

func (*StringPathRequest) Reset

func (x *StringPathRequest) Reset()

func (*StringPathRequest) String

func (x *StringPathRequest) String() string

type Uint32PathGorillaService

type Uint32PathGorillaService interface {
	Uint32Path(ctx context.Context, request *Uint32PathRequest) (*httpbody.HttpBody, error)
}

type Uint32PathRequest

type Uint32PathRequest struct {
	Uint32     uint32                  `protobuf:"varint,1,opt,name=uint32,proto3" json:"uint32,omitempty"`
	Fixed32    uint32                  `protobuf:"fixed32,2,opt,name=fixed32,proto3" json:"fixed32,omitempty"`
	OptUint32  *uint32                 `protobuf:"varint,3,opt,name=opt_uint32,json=optUint32,proto3,oneof" json:"opt_uint32,omitempty"`
	OptFixed32 *uint32                 `protobuf:"fixed32,4,opt,name=opt_fixed32,json=optFixed32,proto3,oneof" json:"opt_fixed32,omitempty"`
	WrapUint32 *wrapperspb.UInt32Value `protobuf:"bytes,5,opt,name=wrap_uint32,json=wrapUint32,proto3" json:"wrap_uint32,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint32PathRequest) Descriptor deprecated

func (*Uint32PathRequest) Descriptor() ([]byte, []int)

Deprecated: Use Uint32PathRequest.ProtoReflect.Descriptor instead.

func (*Uint32PathRequest) GetFixed32

func (x *Uint32PathRequest) GetFixed32() uint32

func (*Uint32PathRequest) GetOptFixed32

func (x *Uint32PathRequest) GetOptFixed32() uint32

func (*Uint32PathRequest) GetOptUint32

func (x *Uint32PathRequest) GetOptUint32() uint32

func (*Uint32PathRequest) GetUint32

func (x *Uint32PathRequest) GetUint32() uint32

func (*Uint32PathRequest) GetWrapUint32

func (x *Uint32PathRequest) GetWrapUint32() *wrapperspb.UInt32Value

func (*Uint32PathRequest) ProtoMessage

func (*Uint32PathRequest) ProtoMessage()

func (*Uint32PathRequest) ProtoReflect

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

func (*Uint32PathRequest) Reset

func (x *Uint32PathRequest) Reset()

func (*Uint32PathRequest) String

func (x *Uint32PathRequest) String() string

type Uint64PathGorillaService

type Uint64PathGorillaService interface {
	Uint64Path(ctx context.Context, request *Uint64PathRequest) (*httpbody.HttpBody, error)
}

type Uint64PathRequest

type Uint64PathRequest struct {
	Uint64     uint64                  `protobuf:"varint,1,opt,name=uint64,proto3" json:"uint64,omitempty"`
	Fixed64    uint64                  `protobuf:"fixed64,2,opt,name=fixed64,proto3" json:"fixed64,omitempty"`
	OptUint64  *uint64                 `protobuf:"varint,3,opt,name=opt_uint64,json=optUint64,proto3,oneof" json:"opt_uint64,omitempty"`
	OptFixed64 *uint64                 `protobuf:"fixed64,4,opt,name=opt_fixed64,json=optFixed64,proto3,oneof" json:"opt_fixed64,omitempty"`
	WrapUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=wrap_uint64,json=wrapUint64,proto3" json:"wrap_uint64,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64PathRequest) Descriptor deprecated

func (*Uint64PathRequest) Descriptor() ([]byte, []int)

Deprecated: Use Uint64PathRequest.ProtoReflect.Descriptor instead.

func (*Uint64PathRequest) GetFixed64

func (x *Uint64PathRequest) GetFixed64() uint64

func (*Uint64PathRequest) GetOptFixed64

func (x *Uint64PathRequest) GetOptFixed64() uint64

func (*Uint64PathRequest) GetOptUint64

func (x *Uint64PathRequest) GetOptUint64() uint64

func (*Uint64PathRequest) GetUint64

func (x *Uint64PathRequest) GetUint64() uint64

func (*Uint64PathRequest) GetWrapUint64

func (x *Uint64PathRequest) GetWrapUint64() *wrapperspb.UInt64Value

func (*Uint64PathRequest) ProtoMessage

func (*Uint64PathRequest) ProtoMessage()

func (*Uint64PathRequest) ProtoReflect

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

func (*Uint64PathRequest) Reset

func (x *Uint64PathRequest) Reset()

func (*Uint64PathRequest) String

func (x *Uint64PathRequest) String() string

Jump to

Keyboard shortcuts

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