Documentation ¶
Index ¶
- type DELETERemoveFeatureFuture
- type DELETERemoveFeatureRequest
- func (*DELETERemoveFeatureRequest) Descriptor() ([]byte, []int)
- func (body DELETERemoveFeatureRequest) FullPath() string
- func (m *DELETERemoveFeatureRequest) GetId() string
- func (body DELETERemoveFeatureRequest) Host() string
- func (body DELETERemoveFeatureRequest) Method() string
- func (body DELETERemoveFeatureRequest) Path() string
- func (*DELETERemoveFeatureRequest) ProtoMessage()
- func (body DELETERemoveFeatureRequest) Request(ctx context.Context) typhon.Request
- func (m *DELETERemoveFeatureRequest) Reset()
- func (body DELETERemoveFeatureRequest) Response(ctx context.Context) (*DELETERemoveFeatureResponse, error)
- func (body DELETERemoveFeatureRequest) Send(ctx context.Context) *DELETERemoveFeatureFuture
- func (body DELETERemoveFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveFeatureFuture
- func (body DELETERemoveFeatureRequest) ServiceName() string
- func (m *DELETERemoveFeatureRequest) String() string
- func (m *DELETERemoveFeatureRequest) XXX_DiscardUnknown()
- func (m *DELETERemoveFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveFeatureRequest) XXX_Merge(src proto.Message)
- func (m *DELETERemoveFeatureRequest) XXX_Size() int
- func (m *DELETERemoveFeatureRequest) XXX_Unmarshal(b []byte) error
- type DELETERemoveFeatureResponse
- func (*DELETERemoveFeatureResponse) Descriptor() ([]byte, []int)
- func (*DELETERemoveFeatureResponse) ProtoMessage()
- func (m *DELETERemoveFeatureResponse) Reset()
- func (m *DELETERemoveFeatureResponse) String() string
- func (m *DELETERemoveFeatureResponse) XXX_DiscardUnknown()
- func (m *DELETERemoveFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveFeatureResponse) XXX_Merge(src proto.Message)
- func (m *DELETERemoveFeatureResponse) XXX_Size() int
- func (m *DELETERemoveFeatureResponse) XXX_Unmarshal(b []byte) error
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)
- func (m *Feature) GetCreatedAt() string
- func (m *Feature) GetId() string
- func (m *Feature) GetName() string
- func (m *Feature) GetSlug() string
- func (m *Feature) GetUpdatedAt() string
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) String() string
- func (m *Feature) XXX_DiscardUnknown()
- func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Feature) XXX_Merge(src proto.Message)
- func (m *Feature) XXX_Size() int
- func (m *Feature) XXX_Unmarshal(b []byte) error
- type GETListFeaturesFuture
- type GETListFeaturesRequest
- func (*GETListFeaturesRequest) Descriptor() ([]byte, []int)
- func (body GETListFeaturesRequest) FullPath() string
- func (body GETListFeaturesRequest) Host() string
- func (body GETListFeaturesRequest) Method() string
- func (body GETListFeaturesRequest) Path() string
- func (*GETListFeaturesRequest) ProtoMessage()
- func (body GETListFeaturesRequest) Request(ctx context.Context) typhon.Request
- func (m *GETListFeaturesRequest) Reset()
- func (body GETListFeaturesRequest) Response(ctx context.Context) (*GETListFeaturesResponse, error)
- func (body GETListFeaturesRequest) Send(ctx context.Context) *GETListFeaturesFuture
- func (body GETListFeaturesRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListFeaturesFuture
- func (body GETListFeaturesRequest) ServiceName() string
- func (m *GETListFeaturesRequest) String() string
- func (m *GETListFeaturesRequest) XXX_DiscardUnknown()
- func (m *GETListFeaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListFeaturesRequest) XXX_Merge(src proto.Message)
- func (m *GETListFeaturesRequest) XXX_Size() int
- func (m *GETListFeaturesRequest) XXX_Unmarshal(b []byte) error
- type GETListFeaturesResponse
- func (*GETListFeaturesResponse) Descriptor() ([]byte, []int)
- func (m *GETListFeaturesResponse) GetFeatures() []*Feature
- func (*GETListFeaturesResponse) ProtoMessage()
- func (m *GETListFeaturesResponse) Reset()
- func (m *GETListFeaturesResponse) String() string
- func (m *GETListFeaturesResponse) XXX_DiscardUnknown()
- func (m *GETListFeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListFeaturesResponse) XXX_Merge(src proto.Message)
- func (m *GETListFeaturesResponse) XXX_Size() int
- func (m *GETListFeaturesResponse) XXX_Unmarshal(b []byte) error
- type GETReadFeatureFuture
- type GETReadFeatureRequest
- func (*GETReadFeatureRequest) Descriptor() ([]byte, []int)
- func (body GETReadFeatureRequest) FullPath() string
- func (m *GETReadFeatureRequest) GetId() string
- func (m *GETReadFeatureRequest) GetSlug() string
- func (body GETReadFeatureRequest) Host() string
- func (body GETReadFeatureRequest) Method() string
- func (body GETReadFeatureRequest) Path() string
- func (*GETReadFeatureRequest) ProtoMessage()
- func (body GETReadFeatureRequest) Request(ctx context.Context) typhon.Request
- func (m *GETReadFeatureRequest) Reset()
- func (body GETReadFeatureRequest) Response(ctx context.Context) (*GETReadFeatureResponse, error)
- func (body GETReadFeatureRequest) Send(ctx context.Context) *GETReadFeatureFuture
- func (body GETReadFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadFeatureFuture
- func (body GETReadFeatureRequest) ServiceName() string
- func (m *GETReadFeatureRequest) String() string
- func (m *GETReadFeatureRequest) XXX_DiscardUnknown()
- func (m *GETReadFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadFeatureRequest) XXX_Merge(src proto.Message)
- func (m *GETReadFeatureRequest) XXX_Size() int
- func (m *GETReadFeatureRequest) XXX_Unmarshal(b []byte) error
- type GETReadFeatureResponse
- func (*GETReadFeatureResponse) Descriptor() ([]byte, []int)
- func (m *GETReadFeatureResponse) GetFeature() *Feature
- func (*GETReadFeatureResponse) ProtoMessage()
- func (m *GETReadFeatureResponse) Reset()
- func (m *GETReadFeatureResponse) String() string
- func (m *GETReadFeatureResponse) XXX_DiscardUnknown()
- func (m *GETReadFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadFeatureResponse) XXX_Merge(src proto.Message)
- func (m *GETReadFeatureResponse) XXX_Size() int
- func (m *GETReadFeatureResponse) XXX_Unmarshal(b []byte) error
- type POSTCreateFeatureFuture
- type POSTCreateFeatureRequest
- func (*POSTCreateFeatureRequest) Descriptor() ([]byte, []int)
- func (body POSTCreateFeatureRequest) FullPath() string
- func (m *POSTCreateFeatureRequest) GetId() string
- func (m *POSTCreateFeatureRequest) GetName() string
- func (m *POSTCreateFeatureRequest) GetSlug() string
- func (body POSTCreateFeatureRequest) Host() string
- func (body POSTCreateFeatureRequest) Method() string
- func (body POSTCreateFeatureRequest) Path() string
- func (*POSTCreateFeatureRequest) ProtoMessage()
- func (body POSTCreateFeatureRequest) Request(ctx context.Context) typhon.Request
- func (m *POSTCreateFeatureRequest) Reset()
- func (body POSTCreateFeatureRequest) Response(ctx context.Context) (*POSTCreateFeatureResponse, error)
- func (body POSTCreateFeatureRequest) Send(ctx context.Context) *POSTCreateFeatureFuture
- func (body POSTCreateFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateFeatureFuture
- func (body POSTCreateFeatureRequest) ServiceName() string
- func (m *POSTCreateFeatureRequest) String() string
- func (m *POSTCreateFeatureRequest) XXX_DiscardUnknown()
- func (m *POSTCreateFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateFeatureRequest) XXX_Merge(src proto.Message)
- func (m *POSTCreateFeatureRequest) XXX_Size() int
- func (m *POSTCreateFeatureRequest) XXX_Unmarshal(b []byte) error
- type POSTCreateFeatureResponse
- func (*POSTCreateFeatureResponse) Descriptor() ([]byte, []int)
- func (m *POSTCreateFeatureResponse) GetFeature() *Feature
- func (*POSTCreateFeatureResponse) ProtoMessage()
- func (m *POSTCreateFeatureResponse) Reset()
- func (m *POSTCreateFeatureResponse) String() string
- func (m *POSTCreateFeatureResponse) XXX_DiscardUnknown()
- func (m *POSTCreateFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateFeatureResponse) XXX_Merge(src proto.Message)
- func (m *POSTCreateFeatureResponse) XXX_Size() int
- func (m *POSTCreateFeatureResponse) XXX_Unmarshal(b []byte) error
- type PUTUpdateFeatureFuture
- type PUTUpdateFeatureRequest
- func (*PUTUpdateFeatureRequest) Descriptor() ([]byte, []int)
- func (body PUTUpdateFeatureRequest) FullPath() string
- func (m *PUTUpdateFeatureRequest) GetId() string
- func (m *PUTUpdateFeatureRequest) GetName() string
- func (m *PUTUpdateFeatureRequest) GetSlug() string
- func (body PUTUpdateFeatureRequest) Host() string
- func (body PUTUpdateFeatureRequest) Method() string
- func (body PUTUpdateFeatureRequest) Path() string
- func (*PUTUpdateFeatureRequest) ProtoMessage()
- func (body PUTUpdateFeatureRequest) Request(ctx context.Context) typhon.Request
- func (m *PUTUpdateFeatureRequest) Reset()
- func (body PUTUpdateFeatureRequest) Response(ctx context.Context) (*PUTUpdateFeatureResponse, error)
- func (body PUTUpdateFeatureRequest) Send(ctx context.Context) *PUTUpdateFeatureFuture
- func (body PUTUpdateFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateFeatureFuture
- func (body PUTUpdateFeatureRequest) ServiceName() string
- func (m *PUTUpdateFeatureRequest) String() string
- func (m *PUTUpdateFeatureRequest) XXX_DiscardUnknown()
- func (m *PUTUpdateFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateFeatureRequest) XXX_Merge(src proto.Message)
- func (m *PUTUpdateFeatureRequest) XXX_Size() int
- func (m *PUTUpdateFeatureRequest) XXX_Unmarshal(b []byte) error
- type PUTUpdateFeatureResponse
- func (*PUTUpdateFeatureResponse) Descriptor() ([]byte, []int)
- func (m *PUTUpdateFeatureResponse) GetFeature() *Feature
- func (*PUTUpdateFeatureResponse) ProtoMessage()
- func (m *PUTUpdateFeatureResponse) Reset()
- func (m *PUTUpdateFeatureResponse) String() string
- func (m *PUTUpdateFeatureResponse) XXX_DiscardUnknown()
- func (m *PUTUpdateFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateFeatureResponse) XXX_Merge(src proto.Message)
- func (m *PUTUpdateFeatureResponse) XXX_Size() int
- func (m *PUTUpdateFeatureResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DELETERemoveFeatureFuture ¶
type DELETERemoveFeatureFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
DELETERemoveFeatureFuture is an intermediate future used for parallel requests with DELETERemoveFeatureRequest
func (*DELETERemoveFeatureFuture) DecodeResponse ¶
func (f *DELETERemoveFeatureFuture) DecodeResponse() (*DELETERemoveFeatureResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*DELETERemoveFeatureFuture) Done ¶
func (f *DELETERemoveFeatureFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type DELETERemoveFeatureRequest ¶
type DELETERemoveFeatureRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DELETERemoveFeatureRequest) Descriptor ¶
func (*DELETERemoveFeatureRequest) Descriptor() ([]byte, []int)
func (DELETERemoveFeatureRequest) FullPath ¶
func (body DELETERemoveFeatureRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*DELETERemoveFeatureRequest) GetId ¶
func (m *DELETERemoveFeatureRequest) GetId() string
func (DELETERemoveFeatureRequest) Host ¶
func (body DELETERemoveFeatureRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (DELETERemoveFeatureRequest) Method ¶
func (body DELETERemoveFeatureRequest) Method() string
Method is the HTTP method used for this request. It is inferred from the name of the Request using a prefix match.
func (DELETERemoveFeatureRequest) Path ¶
func (body DELETERemoveFeatureRequest) Path() string
Path is the HTTP path to this endpoint
func (*DELETERemoveFeatureRequest) ProtoMessage ¶
func (*DELETERemoveFeatureRequest) ProtoMessage()
func (DELETERemoveFeatureRequest) Request ¶
func (body DELETERemoveFeatureRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*DELETERemoveFeatureRequest) Reset ¶
func (m *DELETERemoveFeatureRequest) Reset()
func (DELETERemoveFeatureRequest) Response ¶
func (body DELETERemoveFeatureRequest) Response(ctx context.Context) (*DELETERemoveFeatureResponse, error)
Response is a shortcut for .Send(ctx).DecodeResponse(), for when you do not need a future. This saves on boilerplate throughout the codebase and you should use this method unless you need parallel requests.
func (DELETERemoveFeatureRequest) Send ¶
func (body DELETERemoveFeatureRequest) Send(ctx context.Context) *DELETERemoveFeatureFuture
Send creates a typhon future and immediately returns it. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (DELETERemoveFeatureRequest) SendVia ¶
func (body DELETERemoveFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveFeatureFuture
SendVia creates a typhon future and immediately returns it, passing the request through svc. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (DELETERemoveFeatureRequest) ServiceName ¶
func (body DELETERemoveFeatureRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*DELETERemoveFeatureRequest) String ¶
func (m *DELETERemoveFeatureRequest) String() string
func (*DELETERemoveFeatureRequest) XXX_DiscardUnknown ¶
func (m *DELETERemoveFeatureRequest) XXX_DiscardUnknown()
func (*DELETERemoveFeatureRequest) XXX_Marshal ¶
func (m *DELETERemoveFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveFeatureRequest) XXX_Merge ¶
func (m *DELETERemoveFeatureRequest) XXX_Merge(src proto.Message)
func (*DELETERemoveFeatureRequest) XXX_Size ¶
func (m *DELETERemoveFeatureRequest) XXX_Size() int
func (*DELETERemoveFeatureRequest) XXX_Unmarshal ¶
func (m *DELETERemoveFeatureRequest) XXX_Unmarshal(b []byte) error
type DELETERemoveFeatureResponse ¶
type DELETERemoveFeatureResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DELETERemoveFeatureResponse) Descriptor ¶
func (*DELETERemoveFeatureResponse) Descriptor() ([]byte, []int)
func (*DELETERemoveFeatureResponse) ProtoMessage ¶
func (*DELETERemoveFeatureResponse) ProtoMessage()
func (*DELETERemoveFeatureResponse) Reset ¶
func (m *DELETERemoveFeatureResponse) Reset()
func (*DELETERemoveFeatureResponse) String ¶
func (m *DELETERemoveFeatureResponse) String() string
func (*DELETERemoveFeatureResponse) XXX_DiscardUnknown ¶
func (m *DELETERemoveFeatureResponse) XXX_DiscardUnknown()
func (*DELETERemoveFeatureResponse) XXX_Marshal ¶
func (m *DELETERemoveFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveFeatureResponse) XXX_Merge ¶
func (m *DELETERemoveFeatureResponse) XXX_Merge(src proto.Message)
func (*DELETERemoveFeatureResponse) XXX_Size ¶
func (m *DELETERemoveFeatureResponse) XXX_Size() int
func (*DELETERemoveFeatureResponse) XXX_Unmarshal ¶
func (m *DELETERemoveFeatureResponse) XXX_Unmarshal(b []byte) error
type Feature ¶
type Feature struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // timestamps CreatedAt string `protobuf:"bytes,100,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,101,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Feature) Descriptor ¶
func (*Feature) GetCreatedAt ¶
func (*Feature) GetUpdatedAt ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) XXX_DiscardUnknown ¶
func (m *Feature) XXX_DiscardUnknown()
func (*Feature) XXX_Marshal ¶
func (*Feature) XXX_Unmarshal ¶
type GETListFeaturesFuture ¶
type GETListFeaturesFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETListFeaturesFuture is an intermediate future used for parallel requests with GETListFeaturesRequest
func (*GETListFeaturesFuture) DecodeResponse ¶
func (f *GETListFeaturesFuture) DecodeResponse() (*GETListFeaturesResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETListFeaturesFuture) Done ¶
func (f *GETListFeaturesFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETListFeaturesRequest ¶
type GETListFeaturesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListFeaturesRequest) Descriptor ¶
func (*GETListFeaturesRequest) Descriptor() ([]byte, []int)
func (GETListFeaturesRequest) FullPath ¶
func (body GETListFeaturesRequest) FullPath() string
FullPath is the full routable URL to this service.
func (GETListFeaturesRequest) Host ¶
func (body GETListFeaturesRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETListFeaturesRequest) Method ¶
func (body GETListFeaturesRequest) Method() string
Method is the HTTP method used for this request. It is inferred from the name of the Request using a prefix match.
func (GETListFeaturesRequest) Path ¶
func (body GETListFeaturesRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETListFeaturesRequest) ProtoMessage ¶
func (*GETListFeaturesRequest) ProtoMessage()
func (GETListFeaturesRequest) Request ¶
func (body GETListFeaturesRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETListFeaturesRequest) Reset ¶
func (m *GETListFeaturesRequest) Reset()
func (GETListFeaturesRequest) Response ¶
func (body GETListFeaturesRequest) Response(ctx context.Context) (*GETListFeaturesResponse, error)
Response is a shortcut for .Send(ctx).DecodeResponse(), for when you do not need a future. This saves on boilerplate throughout the codebase and you should use this method unless you need parallel requests.
func (GETListFeaturesRequest) Send ¶
func (body GETListFeaturesRequest) Send(ctx context.Context) *GETListFeaturesFuture
Send creates a typhon future and immediately returns it. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (GETListFeaturesRequest) SendVia ¶
func (body GETListFeaturesRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListFeaturesFuture
SendVia creates a typhon future and immediately returns it, passing the request through svc. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (GETListFeaturesRequest) ServiceName ¶
func (body GETListFeaturesRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETListFeaturesRequest) String ¶
func (m *GETListFeaturesRequest) String() string
func (*GETListFeaturesRequest) XXX_DiscardUnknown ¶
func (m *GETListFeaturesRequest) XXX_DiscardUnknown()
func (*GETListFeaturesRequest) XXX_Marshal ¶
func (m *GETListFeaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListFeaturesRequest) XXX_Merge ¶
func (m *GETListFeaturesRequest) XXX_Merge(src proto.Message)
func (*GETListFeaturesRequest) XXX_Size ¶
func (m *GETListFeaturesRequest) XXX_Size() int
func (*GETListFeaturesRequest) XXX_Unmarshal ¶
func (m *GETListFeaturesRequest) XXX_Unmarshal(b []byte) error
type GETListFeaturesResponse ¶
type GETListFeaturesResponse struct { Features []*Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListFeaturesResponse) Descriptor ¶
func (*GETListFeaturesResponse) Descriptor() ([]byte, []int)
func (*GETListFeaturesResponse) GetFeatures ¶
func (m *GETListFeaturesResponse) GetFeatures() []*Feature
func (*GETListFeaturesResponse) ProtoMessage ¶
func (*GETListFeaturesResponse) ProtoMessage()
func (*GETListFeaturesResponse) Reset ¶
func (m *GETListFeaturesResponse) Reset()
func (*GETListFeaturesResponse) String ¶
func (m *GETListFeaturesResponse) String() string
func (*GETListFeaturesResponse) XXX_DiscardUnknown ¶
func (m *GETListFeaturesResponse) XXX_DiscardUnknown()
func (*GETListFeaturesResponse) XXX_Marshal ¶
func (m *GETListFeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListFeaturesResponse) XXX_Merge ¶
func (m *GETListFeaturesResponse) XXX_Merge(src proto.Message)
func (*GETListFeaturesResponse) XXX_Size ¶
func (m *GETListFeaturesResponse) XXX_Size() int
func (*GETListFeaturesResponse) XXX_Unmarshal ¶
func (m *GETListFeaturesResponse) XXX_Unmarshal(b []byte) error
type GETReadFeatureFuture ¶
type GETReadFeatureFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETReadFeatureFuture is an intermediate future used for parallel requests with GETReadFeatureRequest
func (*GETReadFeatureFuture) DecodeResponse ¶
func (f *GETReadFeatureFuture) DecodeResponse() (*GETReadFeatureResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETReadFeatureFuture) Done ¶
func (f *GETReadFeatureFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETReadFeatureRequest ¶
type GETReadFeatureRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadFeatureRequest) Descriptor ¶
func (*GETReadFeatureRequest) Descriptor() ([]byte, []int)
func (GETReadFeatureRequest) FullPath ¶
func (body GETReadFeatureRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*GETReadFeatureRequest) GetId ¶
func (m *GETReadFeatureRequest) GetId() string
func (*GETReadFeatureRequest) GetSlug ¶
func (m *GETReadFeatureRequest) GetSlug() string
func (GETReadFeatureRequest) Host ¶
func (body GETReadFeatureRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETReadFeatureRequest) Method ¶
func (body GETReadFeatureRequest) Method() string
Method is the HTTP method used for this request. It is inferred from the name of the Request using a prefix match.
func (GETReadFeatureRequest) Path ¶
func (body GETReadFeatureRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETReadFeatureRequest) ProtoMessage ¶
func (*GETReadFeatureRequest) ProtoMessage()
func (GETReadFeatureRequest) Request ¶
func (body GETReadFeatureRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETReadFeatureRequest) Reset ¶
func (m *GETReadFeatureRequest) Reset()
func (GETReadFeatureRequest) Response ¶
func (body GETReadFeatureRequest) Response(ctx context.Context) (*GETReadFeatureResponse, error)
Response is a shortcut for .Send(ctx).DecodeResponse(), for when you do not need a future. This saves on boilerplate throughout the codebase and you should use this method unless you need parallel requests.
func (GETReadFeatureRequest) Send ¶
func (body GETReadFeatureRequest) Send(ctx context.Context) *GETReadFeatureFuture
Send creates a typhon future and immediately returns it. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (GETReadFeatureRequest) SendVia ¶
func (body GETReadFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadFeatureFuture
SendVia creates a typhon future and immediately returns it, passing the request through svc. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (GETReadFeatureRequest) ServiceName ¶
func (body GETReadFeatureRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETReadFeatureRequest) String ¶
func (m *GETReadFeatureRequest) String() string
func (*GETReadFeatureRequest) XXX_DiscardUnknown ¶
func (m *GETReadFeatureRequest) XXX_DiscardUnknown()
func (*GETReadFeatureRequest) XXX_Marshal ¶
func (m *GETReadFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadFeatureRequest) XXX_Merge ¶
func (m *GETReadFeatureRequest) XXX_Merge(src proto.Message)
func (*GETReadFeatureRequest) XXX_Size ¶
func (m *GETReadFeatureRequest) XXX_Size() int
func (*GETReadFeatureRequest) XXX_Unmarshal ¶
func (m *GETReadFeatureRequest) XXX_Unmarshal(b []byte) error
type GETReadFeatureResponse ¶
type GETReadFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadFeatureResponse) Descriptor ¶
func (*GETReadFeatureResponse) Descriptor() ([]byte, []int)
func (*GETReadFeatureResponse) GetFeature ¶
func (m *GETReadFeatureResponse) GetFeature() *Feature
func (*GETReadFeatureResponse) ProtoMessage ¶
func (*GETReadFeatureResponse) ProtoMessage()
func (*GETReadFeatureResponse) Reset ¶
func (m *GETReadFeatureResponse) Reset()
func (*GETReadFeatureResponse) String ¶
func (m *GETReadFeatureResponse) String() string
func (*GETReadFeatureResponse) XXX_DiscardUnknown ¶
func (m *GETReadFeatureResponse) XXX_DiscardUnknown()
func (*GETReadFeatureResponse) XXX_Marshal ¶
func (m *GETReadFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadFeatureResponse) XXX_Merge ¶
func (m *GETReadFeatureResponse) XXX_Merge(src proto.Message)
func (*GETReadFeatureResponse) XXX_Size ¶
func (m *GETReadFeatureResponse) XXX_Size() int
func (*GETReadFeatureResponse) XXX_Unmarshal ¶
func (m *GETReadFeatureResponse) XXX_Unmarshal(b []byte) error
type POSTCreateFeatureFuture ¶
type POSTCreateFeatureFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
POSTCreateFeatureFuture is an intermediate future used for parallel requests with POSTCreateFeatureRequest
func (*POSTCreateFeatureFuture) DecodeResponse ¶
func (f *POSTCreateFeatureFuture) DecodeResponse() (*POSTCreateFeatureResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*POSTCreateFeatureFuture) Done ¶
func (f *POSTCreateFeatureFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type POSTCreateFeatureRequest ¶
type POSTCreateFeatureRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateFeatureRequest) Descriptor ¶
func (*POSTCreateFeatureRequest) Descriptor() ([]byte, []int)
func (POSTCreateFeatureRequest) FullPath ¶
func (body POSTCreateFeatureRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*POSTCreateFeatureRequest) GetId ¶
func (m *POSTCreateFeatureRequest) GetId() string
func (*POSTCreateFeatureRequest) GetName ¶
func (m *POSTCreateFeatureRequest) GetName() string
func (*POSTCreateFeatureRequest) GetSlug ¶
func (m *POSTCreateFeatureRequest) GetSlug() string
func (POSTCreateFeatureRequest) Host ¶
func (body POSTCreateFeatureRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (POSTCreateFeatureRequest) Method ¶
func (body POSTCreateFeatureRequest) Method() string
Method is the HTTP method used for this request. It is inferred from the name of the Request using a prefix match.
func (POSTCreateFeatureRequest) Path ¶
func (body POSTCreateFeatureRequest) Path() string
Path is the HTTP path to this endpoint
func (*POSTCreateFeatureRequest) ProtoMessage ¶
func (*POSTCreateFeatureRequest) ProtoMessage()
func (POSTCreateFeatureRequest) Request ¶
func (body POSTCreateFeatureRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*POSTCreateFeatureRequest) Reset ¶
func (m *POSTCreateFeatureRequest) Reset()
func (POSTCreateFeatureRequest) Response ¶
func (body POSTCreateFeatureRequest) Response(ctx context.Context) (*POSTCreateFeatureResponse, error)
Response is a shortcut for .Send(ctx).DecodeResponse(), for when you do not need a future. This saves on boilerplate throughout the codebase and you should use this method unless you need parallel requests.
func (POSTCreateFeatureRequest) Send ¶
func (body POSTCreateFeatureRequest) Send(ctx context.Context) *POSTCreateFeatureFuture
Send creates a typhon future and immediately returns it. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (POSTCreateFeatureRequest) SendVia ¶
func (body POSTCreateFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateFeatureFuture
SendVia creates a typhon future and immediately returns it, passing the request through svc. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (POSTCreateFeatureRequest) ServiceName ¶
func (body POSTCreateFeatureRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*POSTCreateFeatureRequest) String ¶
func (m *POSTCreateFeatureRequest) String() string
func (*POSTCreateFeatureRequest) XXX_DiscardUnknown ¶
func (m *POSTCreateFeatureRequest) XXX_DiscardUnknown()
func (*POSTCreateFeatureRequest) XXX_Marshal ¶
func (m *POSTCreateFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateFeatureRequest) XXX_Merge ¶
func (m *POSTCreateFeatureRequest) XXX_Merge(src proto.Message)
func (*POSTCreateFeatureRequest) XXX_Size ¶
func (m *POSTCreateFeatureRequest) XXX_Size() int
func (*POSTCreateFeatureRequest) XXX_Unmarshal ¶
func (m *POSTCreateFeatureRequest) XXX_Unmarshal(b []byte) error
type POSTCreateFeatureResponse ¶
type POSTCreateFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateFeatureResponse) Descriptor ¶
func (*POSTCreateFeatureResponse) Descriptor() ([]byte, []int)
func (*POSTCreateFeatureResponse) GetFeature ¶
func (m *POSTCreateFeatureResponse) GetFeature() *Feature
func (*POSTCreateFeatureResponse) ProtoMessage ¶
func (*POSTCreateFeatureResponse) ProtoMessage()
func (*POSTCreateFeatureResponse) Reset ¶
func (m *POSTCreateFeatureResponse) Reset()
func (*POSTCreateFeatureResponse) String ¶
func (m *POSTCreateFeatureResponse) String() string
func (*POSTCreateFeatureResponse) XXX_DiscardUnknown ¶
func (m *POSTCreateFeatureResponse) XXX_DiscardUnknown()
func (*POSTCreateFeatureResponse) XXX_Marshal ¶
func (m *POSTCreateFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateFeatureResponse) XXX_Merge ¶
func (m *POSTCreateFeatureResponse) XXX_Merge(src proto.Message)
func (*POSTCreateFeatureResponse) XXX_Size ¶
func (m *POSTCreateFeatureResponse) XXX_Size() int
func (*POSTCreateFeatureResponse) XXX_Unmarshal ¶
func (m *POSTCreateFeatureResponse) XXX_Unmarshal(b []byte) error
type PUTUpdateFeatureFuture ¶
type PUTUpdateFeatureFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
PUTUpdateFeatureFuture is an intermediate future used for parallel requests with PUTUpdateFeatureRequest
func (*PUTUpdateFeatureFuture) DecodeResponse ¶
func (f *PUTUpdateFeatureFuture) DecodeResponse() (*PUTUpdateFeatureResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*PUTUpdateFeatureFuture) Done ¶
func (f *PUTUpdateFeatureFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type PUTUpdateFeatureRequest ¶
type PUTUpdateFeatureRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Slug string `protobuf:"bytes,2,opt,name=slug,proto3" json:"slug,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateFeatureRequest) Descriptor ¶
func (*PUTUpdateFeatureRequest) Descriptor() ([]byte, []int)
func (PUTUpdateFeatureRequest) FullPath ¶
func (body PUTUpdateFeatureRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*PUTUpdateFeatureRequest) GetId ¶
func (m *PUTUpdateFeatureRequest) GetId() string
func (*PUTUpdateFeatureRequest) GetName ¶
func (m *PUTUpdateFeatureRequest) GetName() string
func (*PUTUpdateFeatureRequest) GetSlug ¶
func (m *PUTUpdateFeatureRequest) GetSlug() string
func (PUTUpdateFeatureRequest) Host ¶
func (body PUTUpdateFeatureRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (PUTUpdateFeatureRequest) Method ¶
func (body PUTUpdateFeatureRequest) Method() string
Method is the HTTP method used for this request. It is inferred from the name of the Request using a prefix match.
func (PUTUpdateFeatureRequest) Path ¶
func (body PUTUpdateFeatureRequest) Path() string
Path is the HTTP path to this endpoint
func (*PUTUpdateFeatureRequest) ProtoMessage ¶
func (*PUTUpdateFeatureRequest) ProtoMessage()
func (PUTUpdateFeatureRequest) Request ¶
func (body PUTUpdateFeatureRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*PUTUpdateFeatureRequest) Reset ¶
func (m *PUTUpdateFeatureRequest) Reset()
func (PUTUpdateFeatureRequest) Response ¶
func (body PUTUpdateFeatureRequest) Response(ctx context.Context) (*PUTUpdateFeatureResponse, error)
Response is a shortcut for .Send(ctx).DecodeResponse(), for when you do not need a future. This saves on boilerplate throughout the codebase and you should use this method unless you need parallel requests.
func (PUTUpdateFeatureRequest) Send ¶
func (body PUTUpdateFeatureRequest) Send(ctx context.Context) *PUTUpdateFeatureFuture
Send creates a typhon future and immediately returns it. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (PUTUpdateFeatureRequest) SendVia ¶
func (body PUTUpdateFeatureRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateFeatureFuture
SendVia creates a typhon future and immediately returns it, passing the request through svc. To wait for the request to complete and return the response, use DecodeResponse on the returned future.
func (PUTUpdateFeatureRequest) ServiceName ¶
func (body PUTUpdateFeatureRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*PUTUpdateFeatureRequest) String ¶
func (m *PUTUpdateFeatureRequest) String() string
func (*PUTUpdateFeatureRequest) XXX_DiscardUnknown ¶
func (m *PUTUpdateFeatureRequest) XXX_DiscardUnknown()
func (*PUTUpdateFeatureRequest) XXX_Marshal ¶
func (m *PUTUpdateFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateFeatureRequest) XXX_Merge ¶
func (m *PUTUpdateFeatureRequest) XXX_Merge(src proto.Message)
func (*PUTUpdateFeatureRequest) XXX_Size ¶
func (m *PUTUpdateFeatureRequest) XXX_Size() int
func (*PUTUpdateFeatureRequest) XXX_Unmarshal ¶
func (m *PUTUpdateFeatureRequest) XXX_Unmarshal(b []byte) error
type PUTUpdateFeatureResponse ¶
type PUTUpdateFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateFeatureResponse) Descriptor ¶
func (*PUTUpdateFeatureResponse) Descriptor() ([]byte, []int)
func (*PUTUpdateFeatureResponse) GetFeature ¶
func (m *PUTUpdateFeatureResponse) GetFeature() *Feature
func (*PUTUpdateFeatureResponse) ProtoMessage ¶
func (*PUTUpdateFeatureResponse) ProtoMessage()
func (*PUTUpdateFeatureResponse) Reset ¶
func (m *PUTUpdateFeatureResponse) Reset()
func (*PUTUpdateFeatureResponse) String ¶
func (m *PUTUpdateFeatureResponse) String() string
func (*PUTUpdateFeatureResponse) XXX_DiscardUnknown ¶
func (m *PUTUpdateFeatureResponse) XXX_DiscardUnknown()
func (*PUTUpdateFeatureResponse) XXX_Marshal ¶
func (m *PUTUpdateFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateFeatureResponse) XXX_Merge ¶
func (m *PUTUpdateFeatureResponse) XXX_Merge(src proto.Message)
func (*PUTUpdateFeatureResponse) XXX_Size ¶
func (m *PUTUpdateFeatureResponse) XXX_Size() int
func (*PUTUpdateFeatureResponse) XXX_Unmarshal ¶
func (m *PUTUpdateFeatureResponse) XXX_Unmarshal(b []byte) error