pb

package
v0.0.0-...-8b57a7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_RequestOptions = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*RequestOptions)(nil),
	Field:         999997,
	Name:          "request_options",
	Tag:           "bytes,999997,opt,name=request_options",
	Filename:      "types.proto",
}
View Source
var E_ServiceOptions = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ServiceOptions)(nil),
	Field:         999999,
	Name:          "service_options",
	Tag:           "bytes,999999,opt,name=service_options",
	Filename:      "types.proto",
}

Functions

This section is empty.

Types

type RequestOptions

type RequestOptions struct {
	ClientType           string   `protobuf:"bytes,1,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
	Target               string   `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Useragent            string   `protobuf:"bytes,3,opt,name=useragent,proto3" json:"useragent,omitempty"`
	Method               string   `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	Param                bool     `protobuf:"varint,5,opt,name=param,proto3" json:"param,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestOptions) Descriptor

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

func (*RequestOptions) GetClientType

func (m *RequestOptions) GetClientType() string

func (*RequestOptions) GetMethod

func (m *RequestOptions) GetMethod() string

func (*RequestOptions) GetParam

func (m *RequestOptions) GetParam() bool

func (*RequestOptions) GetTarget

func (m *RequestOptions) GetTarget() string

func (*RequestOptions) GetUseragent

func (m *RequestOptions) GetUseragent() string

func (*RequestOptions) ProtoMessage

func (*RequestOptions) ProtoMessage()

func (*RequestOptions) Reset

func (m *RequestOptions) Reset()

func (*RequestOptions) String

func (m *RequestOptions) String() string

func (*RequestOptions) XXX_DiscardUnknown

func (m *RequestOptions) XXX_DiscardUnknown()

func (*RequestOptions) XXX_Marshal

func (m *RequestOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestOptions) XXX_Merge

func (m *RequestOptions) XXX_Merge(src proto.Message)

func (*RequestOptions) XXX_Size

func (m *RequestOptions) XXX_Size() int

func (*RequestOptions) XXX_Unmarshal

func (m *RequestOptions) XXX_Unmarshal(b []byte) error

type ServiceOptions

type ServiceOptions struct {
	Endpoint             string   `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Auth                 string   `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServiceOptions) Descriptor

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

func (*ServiceOptions) GetAuth

func (m *ServiceOptions) GetAuth() string

func (*ServiceOptions) GetEndpoint

func (m *ServiceOptions) GetEndpoint() string

func (*ServiceOptions) ProtoMessage

func (*ServiceOptions) ProtoMessage()

func (*ServiceOptions) Reset

func (m *ServiceOptions) Reset()

func (*ServiceOptions) String

func (m *ServiceOptions) String() string

func (*ServiceOptions) XXX_DiscardUnknown

func (m *ServiceOptions) XXX_DiscardUnknown()

func (*ServiceOptions) XXX_Marshal

func (m *ServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceOptions) XXX_Merge

func (m *ServiceOptions) XXX_Merge(src proto.Message)

func (*ServiceOptions) XXX_Size

func (m *ServiceOptions) XXX_Size() int

func (*ServiceOptions) XXX_Unmarshal

func (m *ServiceOptions) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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