path

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 19 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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_example_path_path_proto protoreflect.FileDescriptor

Functions

func AppendBoolPathHttpRoute

func AppendBoolPathHttpRoute(router *http.ServeMux, service BoolPathService, opts ...server.Option) *http.ServeMux

func AppendDoublePathHttpRoute

func AppendDoublePathHttpRoute(router *http.ServeMux, service DoublePathService, opts ...server.Option) *http.ServeMux

func AppendEnumPathHttpRoute

func AppendEnumPathHttpRoute(router *http.ServeMux, service EnumPathService, opts ...server.Option) *http.ServeMux

func AppendFloatPathHttpRoute

func AppendFloatPathHttpRoute(router *http.ServeMux, service FloatPathService, opts ...server.Option) *http.ServeMux

func AppendInt32PathHttpRoute

func AppendInt32PathHttpRoute(router *http.ServeMux, service Int32PathService, opts ...server.Option) *http.ServeMux

func AppendInt64PathHttpRoute

func AppendInt64PathHttpRoute(router *http.ServeMux, service Int64PathService, opts ...server.Option) *http.ServeMux

func AppendStringPathHttpRoute

func AppendStringPathHttpRoute(router *http.ServeMux, service StringPathService, opts ...server.Option) *http.ServeMux

func AppendUint32PathHttpRoute

func AppendUint32PathHttpRoute(router *http.ServeMux, service Uint32PathService, opts ...server.Option) *http.ServeMux

func AppendUint64PathHttpRoute

func AppendUint64PathHttpRoute(router *http.ServeMux, service Uint64PathService, opts ...server.Option) *http.ServeMux

Types

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 BoolPathService

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

func NewBoolPathHttpClient

func NewBoolPathHttpClient(target string, opts ...client.Option) BoolPathService

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 DoublePathService

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

func NewDoublePathHttpClient

func NewDoublePathHttpClient(target string, opts ...client.Option) DoublePathService

type EnumPathRequest

type EnumPathRequest struct {
	Status    EnumPathRequest_Status  `protobuf:"varint,1,opt,name=status,proto3,enum=leo.goose.example.path.v1.EnumPathRequest_Status" json:"status,omitempty"`
	OptStatus *EnumPathRequest_Status `` /* 149-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 EnumPathService

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

func NewEnumPathHttpClient

func NewEnumPathHttpClient(target string, opts ...client.Option) EnumPathService

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 FloatPathService

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

func NewFloatPathHttpClient

func NewFloatPathHttpClient(target string, opts ...client.Option) FloatPathService

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 Int32PathService

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

func NewInt32PathHttpClient

func NewInt32PathHttpClient(target string, opts ...client.Option) Int32PathService

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 Int64PathService

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

func NewInt64PathHttpClient

func NewInt64PathHttpClient(target string, opts ...client.Option) Int64PathService

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"`
	MultiString string                  `protobuf:"bytes,4,opt,name=multi_string,json=multiString,proto3" json:"multi_string,omitempty"`
	// contains filtered or unexported fields
}

func (*StringPathRequest) Descriptor deprecated

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

Deprecated: Use StringPathRequest.ProtoReflect.Descriptor instead.

func (*StringPathRequest) GetMultiString

func (x *StringPathRequest) GetMultiString() string

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 StringPathService

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

func NewStringPathHttpClient

func NewStringPathHttpClient(target string, opts ...client.Option) StringPathService

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 Uint32PathService

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

func NewUint32PathHttpClient

func NewUint32PathHttpClient(target string, opts ...client.Option) Uint32PathService

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

type Uint64PathService

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

func NewUint64PathHttpClient

func NewUint64PathHttpClient(target string, opts ...client.Option) Uint64PathService

Jump to

Keyboard shortcuts

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