Documentation ¶
Index ¶
- type Color
- func (*Color) Descriptor() ([]byte, []int)
- func (m *Color) GetCreatedAt() string
- func (m *Color) GetId() string
- func (m *Color) GetName() string
- func (m *Color) GetSlug() string
- func (m *Color) GetUpdatedAt() string
- func (*Color) ProtoMessage()
- func (m *Color) Reset()
- func (m *Color) String() string
- func (m *Color) XXX_DiscardUnknown()
- func (m *Color) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Color) XXX_Merge(src proto.Message)
- func (m *Color) XXX_Size() int
- func (m *Color) XXX_Unmarshal(b []byte) error
- type DELETERemoveColorFuture
- type DELETERemoveColorRequest
- func (*DELETERemoveColorRequest) Descriptor() ([]byte, []int)
- func (body DELETERemoveColorRequest) FullPath() string
- func (m *DELETERemoveColorRequest) GetId() string
- func (body DELETERemoveColorRequest) Host() string
- func (body DELETERemoveColorRequest) Method() string
- func (body DELETERemoveColorRequest) Path() string
- func (*DELETERemoveColorRequest) ProtoMessage()
- func (body DELETERemoveColorRequest) Request(ctx context.Context) typhon.Request
- func (m *DELETERemoveColorRequest) Reset()
- func (body DELETERemoveColorRequest) Response(ctx context.Context) (*DELETERemoveColorResponse, error)
- func (body DELETERemoveColorRequest) Send(ctx context.Context) *DELETERemoveColorFuture
- func (body DELETERemoveColorRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveColorFuture
- func (body DELETERemoveColorRequest) ServiceName() string
- func (m *DELETERemoveColorRequest) String() string
- func (m *DELETERemoveColorRequest) XXX_DiscardUnknown()
- func (m *DELETERemoveColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveColorRequest) XXX_Merge(src proto.Message)
- func (m *DELETERemoveColorRequest) XXX_Size() int
- func (m *DELETERemoveColorRequest) XXX_Unmarshal(b []byte) error
- type DELETERemoveColorResponse
- func (*DELETERemoveColorResponse) Descriptor() ([]byte, []int)
- func (*DELETERemoveColorResponse) ProtoMessage()
- func (m *DELETERemoveColorResponse) Reset()
- func (m *DELETERemoveColorResponse) String() string
- func (m *DELETERemoveColorResponse) XXX_DiscardUnknown()
- func (m *DELETERemoveColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveColorResponse) XXX_Merge(src proto.Message)
- func (m *DELETERemoveColorResponse) XXX_Size() int
- func (m *DELETERemoveColorResponse) XXX_Unmarshal(b []byte) error
- type GETListColorsFuture
- type GETListColorsRequest
- func (*GETListColorsRequest) Descriptor() ([]byte, []int)
- func (body GETListColorsRequest) FullPath() string
- func (body GETListColorsRequest) Host() string
- func (body GETListColorsRequest) Method() string
- func (body GETListColorsRequest) Path() string
- func (*GETListColorsRequest) ProtoMessage()
- func (body GETListColorsRequest) Request(ctx context.Context) typhon.Request
- func (m *GETListColorsRequest) Reset()
- func (body GETListColorsRequest) Response(ctx context.Context) (*GETListColorsResponse, error)
- func (body GETListColorsRequest) Send(ctx context.Context) *GETListColorsFuture
- func (body GETListColorsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListColorsFuture
- func (body GETListColorsRequest) ServiceName() string
- func (m *GETListColorsRequest) String() string
- func (m *GETListColorsRequest) XXX_DiscardUnknown()
- func (m *GETListColorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListColorsRequest) XXX_Merge(src proto.Message)
- func (m *GETListColorsRequest) XXX_Size() int
- func (m *GETListColorsRequest) XXX_Unmarshal(b []byte) error
- type GETListColorsResponse
- func (*GETListColorsResponse) Descriptor() ([]byte, []int)
- func (m *GETListColorsResponse) GetColors() []*Color
- func (*GETListColorsResponse) ProtoMessage()
- func (m *GETListColorsResponse) Reset()
- func (m *GETListColorsResponse) String() string
- func (m *GETListColorsResponse) XXX_DiscardUnknown()
- func (m *GETListColorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListColorsResponse) XXX_Merge(src proto.Message)
- func (m *GETListColorsResponse) XXX_Size() int
- func (m *GETListColorsResponse) XXX_Unmarshal(b []byte) error
- type GETReadColorFuture
- type GETReadColorRequest
- func (*GETReadColorRequest) Descriptor() ([]byte, []int)
- func (body GETReadColorRequest) FullPath() string
- func (m *GETReadColorRequest) GetId() string
- func (m *GETReadColorRequest) GetSlug() string
- func (body GETReadColorRequest) Host() string
- func (body GETReadColorRequest) Method() string
- func (body GETReadColorRequest) Path() string
- func (*GETReadColorRequest) ProtoMessage()
- func (body GETReadColorRequest) Request(ctx context.Context) typhon.Request
- func (m *GETReadColorRequest) Reset()
- func (body GETReadColorRequest) Response(ctx context.Context) (*GETReadColorResponse, error)
- func (body GETReadColorRequest) Send(ctx context.Context) *GETReadColorFuture
- func (body GETReadColorRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadColorFuture
- func (body GETReadColorRequest) ServiceName() string
- func (m *GETReadColorRequest) String() string
- func (m *GETReadColorRequest) XXX_DiscardUnknown()
- func (m *GETReadColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadColorRequest) XXX_Merge(src proto.Message)
- func (m *GETReadColorRequest) XXX_Size() int
- func (m *GETReadColorRequest) XXX_Unmarshal(b []byte) error
- type GETReadColorResponse
- func (*GETReadColorResponse) Descriptor() ([]byte, []int)
- func (m *GETReadColorResponse) GetColor() *Color
- func (*GETReadColorResponse) ProtoMessage()
- func (m *GETReadColorResponse) Reset()
- func (m *GETReadColorResponse) String() string
- func (m *GETReadColorResponse) XXX_DiscardUnknown()
- func (m *GETReadColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadColorResponse) XXX_Merge(src proto.Message)
- func (m *GETReadColorResponse) XXX_Size() int
- func (m *GETReadColorResponse) XXX_Unmarshal(b []byte) error
- type POSTCreateColorFuture
- type POSTCreateColorRequest
- func (*POSTCreateColorRequest) Descriptor() ([]byte, []int)
- func (body POSTCreateColorRequest) FullPath() string
- func (m *POSTCreateColorRequest) GetId() string
- func (m *POSTCreateColorRequest) GetName() string
- func (m *POSTCreateColorRequest) GetSlug() string
- func (body POSTCreateColorRequest) Host() string
- func (body POSTCreateColorRequest) Method() string
- func (body POSTCreateColorRequest) Path() string
- func (*POSTCreateColorRequest) ProtoMessage()
- func (body POSTCreateColorRequest) Request(ctx context.Context) typhon.Request
- func (m *POSTCreateColorRequest) Reset()
- func (body POSTCreateColorRequest) Response(ctx context.Context) (*POSTCreateColorResponse, error)
- func (body POSTCreateColorRequest) Send(ctx context.Context) *POSTCreateColorFuture
- func (body POSTCreateColorRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateColorFuture
- func (body POSTCreateColorRequest) ServiceName() string
- func (m *POSTCreateColorRequest) String() string
- func (m *POSTCreateColorRequest) XXX_DiscardUnknown()
- func (m *POSTCreateColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateColorRequest) XXX_Merge(src proto.Message)
- func (m *POSTCreateColorRequest) XXX_Size() int
- func (m *POSTCreateColorRequest) XXX_Unmarshal(b []byte) error
- type POSTCreateColorResponse
- func (*POSTCreateColorResponse) Descriptor() ([]byte, []int)
- func (m *POSTCreateColorResponse) GetColor() *Color
- func (*POSTCreateColorResponse) ProtoMessage()
- func (m *POSTCreateColorResponse) Reset()
- func (m *POSTCreateColorResponse) String() string
- func (m *POSTCreateColorResponse) XXX_DiscardUnknown()
- func (m *POSTCreateColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateColorResponse) XXX_Merge(src proto.Message)
- func (m *POSTCreateColorResponse) XXX_Size() int
- func (m *POSTCreateColorResponse) XXX_Unmarshal(b []byte) error
- type PUTUpdateColorFuture
- type PUTUpdateColorRequest
- func (*PUTUpdateColorRequest) Descriptor() ([]byte, []int)
- func (body PUTUpdateColorRequest) FullPath() string
- func (m *PUTUpdateColorRequest) GetId() string
- func (m *PUTUpdateColorRequest) GetName() string
- func (m *PUTUpdateColorRequest) GetSlug() string
- func (body PUTUpdateColorRequest) Host() string
- func (body PUTUpdateColorRequest) Method() string
- func (body PUTUpdateColorRequest) Path() string
- func (*PUTUpdateColorRequest) ProtoMessage()
- func (body PUTUpdateColorRequest) Request(ctx context.Context) typhon.Request
- func (m *PUTUpdateColorRequest) Reset()
- func (body PUTUpdateColorRequest) Response(ctx context.Context) (*PUTUpdateColorResponse, error)
- func (body PUTUpdateColorRequest) Send(ctx context.Context) *PUTUpdateColorFuture
- func (body PUTUpdateColorRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateColorFuture
- func (body PUTUpdateColorRequest) ServiceName() string
- func (m *PUTUpdateColorRequest) String() string
- func (m *PUTUpdateColorRequest) XXX_DiscardUnknown()
- func (m *PUTUpdateColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateColorRequest) XXX_Merge(src proto.Message)
- func (m *PUTUpdateColorRequest) XXX_Size() int
- func (m *PUTUpdateColorRequest) XXX_Unmarshal(b []byte) error
- type PUTUpdateColorResponse
- func (*PUTUpdateColorResponse) Descriptor() ([]byte, []int)
- func (m *PUTUpdateColorResponse) GetColor() *Color
- func (*PUTUpdateColorResponse) ProtoMessage()
- func (m *PUTUpdateColorResponse) Reset()
- func (m *PUTUpdateColorResponse) String() string
- func (m *PUTUpdateColorResponse) XXX_DiscardUnknown()
- func (m *PUTUpdateColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateColorResponse) XXX_Merge(src proto.Message)
- func (m *PUTUpdateColorResponse) XXX_Size() int
- func (m *PUTUpdateColorResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Color ¶
type Color 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 (*Color) Descriptor ¶
func (*Color) GetCreatedAt ¶
func (*Color) GetUpdatedAt ¶
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) XXX_DiscardUnknown ¶
func (m *Color) XXX_DiscardUnknown()
func (*Color) XXX_Marshal ¶
func (*Color) XXX_Unmarshal ¶
type DELETERemoveColorFuture ¶
type DELETERemoveColorFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
DELETERemoveColorFuture is an intermediate future used for parallel requests with DELETERemoveColorRequest
func (*DELETERemoveColorFuture) DecodeResponse ¶
func (f *DELETERemoveColorFuture) DecodeResponse() (*DELETERemoveColorResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*DELETERemoveColorFuture) Done ¶
func (f *DELETERemoveColorFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type DELETERemoveColorRequest ¶
type DELETERemoveColorRequest 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 (*DELETERemoveColorRequest) Descriptor ¶
func (*DELETERemoveColorRequest) Descriptor() ([]byte, []int)
func (DELETERemoveColorRequest) FullPath ¶
func (body DELETERemoveColorRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*DELETERemoveColorRequest) GetId ¶
func (m *DELETERemoveColorRequest) GetId() string
func (DELETERemoveColorRequest) Host ¶
func (body DELETERemoveColorRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (DELETERemoveColorRequest) Method ¶
func (body DELETERemoveColorRequest) 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 (DELETERemoveColorRequest) Path ¶
func (body DELETERemoveColorRequest) Path() string
Path is the HTTP path to this endpoint
func (*DELETERemoveColorRequest) ProtoMessage ¶
func (*DELETERemoveColorRequest) ProtoMessage()
func (DELETERemoveColorRequest) Request ¶
func (body DELETERemoveColorRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*DELETERemoveColorRequest) Reset ¶
func (m *DELETERemoveColorRequest) Reset()
func (DELETERemoveColorRequest) Response ¶
func (body DELETERemoveColorRequest) Response(ctx context.Context) (*DELETERemoveColorResponse, 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 (DELETERemoveColorRequest) Send ¶
func (body DELETERemoveColorRequest) Send(ctx context.Context) *DELETERemoveColorFuture
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 (DELETERemoveColorRequest) SendVia ¶
func (body DELETERemoveColorRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveColorFuture
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 (DELETERemoveColorRequest) ServiceName ¶
func (body DELETERemoveColorRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*DELETERemoveColorRequest) String ¶
func (m *DELETERemoveColorRequest) String() string
func (*DELETERemoveColorRequest) XXX_DiscardUnknown ¶
func (m *DELETERemoveColorRequest) XXX_DiscardUnknown()
func (*DELETERemoveColorRequest) XXX_Marshal ¶
func (m *DELETERemoveColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveColorRequest) XXX_Merge ¶
func (m *DELETERemoveColorRequest) XXX_Merge(src proto.Message)
func (*DELETERemoveColorRequest) XXX_Size ¶
func (m *DELETERemoveColorRequest) XXX_Size() int
func (*DELETERemoveColorRequest) XXX_Unmarshal ¶
func (m *DELETERemoveColorRequest) XXX_Unmarshal(b []byte) error
type DELETERemoveColorResponse ¶
type DELETERemoveColorResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DELETERemoveColorResponse) Descriptor ¶
func (*DELETERemoveColorResponse) Descriptor() ([]byte, []int)
func (*DELETERemoveColorResponse) ProtoMessage ¶
func (*DELETERemoveColorResponse) ProtoMessage()
func (*DELETERemoveColorResponse) Reset ¶
func (m *DELETERemoveColorResponse) Reset()
func (*DELETERemoveColorResponse) String ¶
func (m *DELETERemoveColorResponse) String() string
func (*DELETERemoveColorResponse) XXX_DiscardUnknown ¶
func (m *DELETERemoveColorResponse) XXX_DiscardUnknown()
func (*DELETERemoveColorResponse) XXX_Marshal ¶
func (m *DELETERemoveColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveColorResponse) XXX_Merge ¶
func (m *DELETERemoveColorResponse) XXX_Merge(src proto.Message)
func (*DELETERemoveColorResponse) XXX_Size ¶
func (m *DELETERemoveColorResponse) XXX_Size() int
func (*DELETERemoveColorResponse) XXX_Unmarshal ¶
func (m *DELETERemoveColorResponse) XXX_Unmarshal(b []byte) error
type GETListColorsFuture ¶
type GETListColorsFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETListColorsFuture is an intermediate future used for parallel requests with GETListColorsRequest
func (*GETListColorsFuture) DecodeResponse ¶
func (f *GETListColorsFuture) DecodeResponse() (*GETListColorsResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETListColorsFuture) Done ¶
func (f *GETListColorsFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETListColorsRequest ¶
type GETListColorsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListColorsRequest) Descriptor ¶
func (*GETListColorsRequest) Descriptor() ([]byte, []int)
func (GETListColorsRequest) FullPath ¶
func (body GETListColorsRequest) FullPath() string
FullPath is the full routable URL to this service.
func (GETListColorsRequest) Host ¶
func (body GETListColorsRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETListColorsRequest) Method ¶
func (body GETListColorsRequest) 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 (GETListColorsRequest) Path ¶
func (body GETListColorsRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETListColorsRequest) ProtoMessage ¶
func (*GETListColorsRequest) ProtoMessage()
func (GETListColorsRequest) Request ¶
func (body GETListColorsRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETListColorsRequest) Reset ¶
func (m *GETListColorsRequest) Reset()
func (GETListColorsRequest) Response ¶
func (body GETListColorsRequest) Response(ctx context.Context) (*GETListColorsResponse, 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 (GETListColorsRequest) Send ¶
func (body GETListColorsRequest) Send(ctx context.Context) *GETListColorsFuture
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 (GETListColorsRequest) SendVia ¶
func (body GETListColorsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListColorsFuture
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 (GETListColorsRequest) ServiceName ¶
func (body GETListColorsRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETListColorsRequest) String ¶
func (m *GETListColorsRequest) String() string
func (*GETListColorsRequest) XXX_DiscardUnknown ¶
func (m *GETListColorsRequest) XXX_DiscardUnknown()
func (*GETListColorsRequest) XXX_Marshal ¶
func (m *GETListColorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListColorsRequest) XXX_Merge ¶
func (m *GETListColorsRequest) XXX_Merge(src proto.Message)
func (*GETListColorsRequest) XXX_Size ¶
func (m *GETListColorsRequest) XXX_Size() int
func (*GETListColorsRequest) XXX_Unmarshal ¶
func (m *GETListColorsRequest) XXX_Unmarshal(b []byte) error
type GETListColorsResponse ¶
type GETListColorsResponse struct { Colors []*Color `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListColorsResponse) Descriptor ¶
func (*GETListColorsResponse) Descriptor() ([]byte, []int)
func (*GETListColorsResponse) GetColors ¶
func (m *GETListColorsResponse) GetColors() []*Color
func (*GETListColorsResponse) ProtoMessage ¶
func (*GETListColorsResponse) ProtoMessage()
func (*GETListColorsResponse) Reset ¶
func (m *GETListColorsResponse) Reset()
func (*GETListColorsResponse) String ¶
func (m *GETListColorsResponse) String() string
func (*GETListColorsResponse) XXX_DiscardUnknown ¶
func (m *GETListColorsResponse) XXX_DiscardUnknown()
func (*GETListColorsResponse) XXX_Marshal ¶
func (m *GETListColorsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListColorsResponse) XXX_Merge ¶
func (m *GETListColorsResponse) XXX_Merge(src proto.Message)
func (*GETListColorsResponse) XXX_Size ¶
func (m *GETListColorsResponse) XXX_Size() int
func (*GETListColorsResponse) XXX_Unmarshal ¶
func (m *GETListColorsResponse) XXX_Unmarshal(b []byte) error
type GETReadColorFuture ¶
type GETReadColorFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETReadColorFuture is an intermediate future used for parallel requests with GETReadColorRequest
func (*GETReadColorFuture) DecodeResponse ¶
func (f *GETReadColorFuture) DecodeResponse() (*GETReadColorResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETReadColorFuture) Done ¶
func (f *GETReadColorFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETReadColorRequest ¶
type GETReadColorRequest 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 (*GETReadColorRequest) Descriptor ¶
func (*GETReadColorRequest) Descriptor() ([]byte, []int)
func (GETReadColorRequest) FullPath ¶
func (body GETReadColorRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*GETReadColorRequest) GetId ¶
func (m *GETReadColorRequest) GetId() string
func (*GETReadColorRequest) GetSlug ¶
func (m *GETReadColorRequest) GetSlug() string
func (GETReadColorRequest) Host ¶
func (body GETReadColorRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETReadColorRequest) Method ¶
func (body GETReadColorRequest) 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 (GETReadColorRequest) Path ¶
func (body GETReadColorRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETReadColorRequest) ProtoMessage ¶
func (*GETReadColorRequest) ProtoMessage()
func (GETReadColorRequest) Request ¶
func (body GETReadColorRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETReadColorRequest) Reset ¶
func (m *GETReadColorRequest) Reset()
func (GETReadColorRequest) Response ¶
func (body GETReadColorRequest) Response(ctx context.Context) (*GETReadColorResponse, 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 (GETReadColorRequest) Send ¶
func (body GETReadColorRequest) Send(ctx context.Context) *GETReadColorFuture
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 (GETReadColorRequest) SendVia ¶
func (body GETReadColorRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadColorFuture
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 (GETReadColorRequest) ServiceName ¶
func (body GETReadColorRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETReadColorRequest) String ¶
func (m *GETReadColorRequest) String() string
func (*GETReadColorRequest) XXX_DiscardUnknown ¶
func (m *GETReadColorRequest) XXX_DiscardUnknown()
func (*GETReadColorRequest) XXX_Marshal ¶
func (m *GETReadColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadColorRequest) XXX_Merge ¶
func (m *GETReadColorRequest) XXX_Merge(src proto.Message)
func (*GETReadColorRequest) XXX_Size ¶
func (m *GETReadColorRequest) XXX_Size() int
func (*GETReadColorRequest) XXX_Unmarshal ¶
func (m *GETReadColorRequest) XXX_Unmarshal(b []byte) error
type GETReadColorResponse ¶
type GETReadColorResponse struct { Color *Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadColorResponse) Descriptor ¶
func (*GETReadColorResponse) Descriptor() ([]byte, []int)
func (*GETReadColorResponse) GetColor ¶
func (m *GETReadColorResponse) GetColor() *Color
func (*GETReadColorResponse) ProtoMessage ¶
func (*GETReadColorResponse) ProtoMessage()
func (*GETReadColorResponse) Reset ¶
func (m *GETReadColorResponse) Reset()
func (*GETReadColorResponse) String ¶
func (m *GETReadColorResponse) String() string
func (*GETReadColorResponse) XXX_DiscardUnknown ¶
func (m *GETReadColorResponse) XXX_DiscardUnknown()
func (*GETReadColorResponse) XXX_Marshal ¶
func (m *GETReadColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadColorResponse) XXX_Merge ¶
func (m *GETReadColorResponse) XXX_Merge(src proto.Message)
func (*GETReadColorResponse) XXX_Size ¶
func (m *GETReadColorResponse) XXX_Size() int
func (*GETReadColorResponse) XXX_Unmarshal ¶
func (m *GETReadColorResponse) XXX_Unmarshal(b []byte) error
type POSTCreateColorFuture ¶
type POSTCreateColorFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
POSTCreateColorFuture is an intermediate future used for parallel requests with POSTCreateColorRequest
func (*POSTCreateColorFuture) DecodeResponse ¶
func (f *POSTCreateColorFuture) DecodeResponse() (*POSTCreateColorResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*POSTCreateColorFuture) Done ¶
func (f *POSTCreateColorFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type POSTCreateColorRequest ¶
type POSTCreateColorRequest 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 (*POSTCreateColorRequest) Descriptor ¶
func (*POSTCreateColorRequest) Descriptor() ([]byte, []int)
func (POSTCreateColorRequest) FullPath ¶
func (body POSTCreateColorRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*POSTCreateColorRequest) GetId ¶
func (m *POSTCreateColorRequest) GetId() string
func (*POSTCreateColorRequest) GetName ¶
func (m *POSTCreateColorRequest) GetName() string
func (*POSTCreateColorRequest) GetSlug ¶
func (m *POSTCreateColorRequest) GetSlug() string
func (POSTCreateColorRequest) Host ¶
func (body POSTCreateColorRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (POSTCreateColorRequest) Method ¶
func (body POSTCreateColorRequest) 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 (POSTCreateColorRequest) Path ¶
func (body POSTCreateColorRequest) Path() string
Path is the HTTP path to this endpoint
func (*POSTCreateColorRequest) ProtoMessage ¶
func (*POSTCreateColorRequest) ProtoMessage()
func (POSTCreateColorRequest) Request ¶
func (body POSTCreateColorRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*POSTCreateColorRequest) Reset ¶
func (m *POSTCreateColorRequest) Reset()
func (POSTCreateColorRequest) Response ¶
func (body POSTCreateColorRequest) Response(ctx context.Context) (*POSTCreateColorResponse, 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 (POSTCreateColorRequest) Send ¶
func (body POSTCreateColorRequest) Send(ctx context.Context) *POSTCreateColorFuture
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 (POSTCreateColorRequest) SendVia ¶
func (body POSTCreateColorRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateColorFuture
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 (POSTCreateColorRequest) ServiceName ¶
func (body POSTCreateColorRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*POSTCreateColorRequest) String ¶
func (m *POSTCreateColorRequest) String() string
func (*POSTCreateColorRequest) XXX_DiscardUnknown ¶
func (m *POSTCreateColorRequest) XXX_DiscardUnknown()
func (*POSTCreateColorRequest) XXX_Marshal ¶
func (m *POSTCreateColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateColorRequest) XXX_Merge ¶
func (m *POSTCreateColorRequest) XXX_Merge(src proto.Message)
func (*POSTCreateColorRequest) XXX_Size ¶
func (m *POSTCreateColorRequest) XXX_Size() int
func (*POSTCreateColorRequest) XXX_Unmarshal ¶
func (m *POSTCreateColorRequest) XXX_Unmarshal(b []byte) error
type POSTCreateColorResponse ¶
type POSTCreateColorResponse struct { Color *Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateColorResponse) Descriptor ¶
func (*POSTCreateColorResponse) Descriptor() ([]byte, []int)
func (*POSTCreateColorResponse) GetColor ¶
func (m *POSTCreateColorResponse) GetColor() *Color
func (*POSTCreateColorResponse) ProtoMessage ¶
func (*POSTCreateColorResponse) ProtoMessage()
func (*POSTCreateColorResponse) Reset ¶
func (m *POSTCreateColorResponse) Reset()
func (*POSTCreateColorResponse) String ¶
func (m *POSTCreateColorResponse) String() string
func (*POSTCreateColorResponse) XXX_DiscardUnknown ¶
func (m *POSTCreateColorResponse) XXX_DiscardUnknown()
func (*POSTCreateColorResponse) XXX_Marshal ¶
func (m *POSTCreateColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateColorResponse) XXX_Merge ¶
func (m *POSTCreateColorResponse) XXX_Merge(src proto.Message)
func (*POSTCreateColorResponse) XXX_Size ¶
func (m *POSTCreateColorResponse) XXX_Size() int
func (*POSTCreateColorResponse) XXX_Unmarshal ¶
func (m *POSTCreateColorResponse) XXX_Unmarshal(b []byte) error
type PUTUpdateColorFuture ¶
type PUTUpdateColorFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
PUTUpdateColorFuture is an intermediate future used for parallel requests with PUTUpdateColorRequest
func (*PUTUpdateColorFuture) DecodeResponse ¶
func (f *PUTUpdateColorFuture) DecodeResponse() (*PUTUpdateColorResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*PUTUpdateColorFuture) Done ¶
func (f *PUTUpdateColorFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type PUTUpdateColorRequest ¶
type PUTUpdateColorRequest 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 (*PUTUpdateColorRequest) Descriptor ¶
func (*PUTUpdateColorRequest) Descriptor() ([]byte, []int)
func (PUTUpdateColorRequest) FullPath ¶
func (body PUTUpdateColorRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*PUTUpdateColorRequest) GetId ¶
func (m *PUTUpdateColorRequest) GetId() string
func (*PUTUpdateColorRequest) GetName ¶
func (m *PUTUpdateColorRequest) GetName() string
func (*PUTUpdateColorRequest) GetSlug ¶
func (m *PUTUpdateColorRequest) GetSlug() string
func (PUTUpdateColorRequest) Host ¶
func (body PUTUpdateColorRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (PUTUpdateColorRequest) Method ¶
func (body PUTUpdateColorRequest) 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 (PUTUpdateColorRequest) Path ¶
func (body PUTUpdateColorRequest) Path() string
Path is the HTTP path to this endpoint
func (*PUTUpdateColorRequest) ProtoMessage ¶
func (*PUTUpdateColorRequest) ProtoMessage()
func (PUTUpdateColorRequest) Request ¶
func (body PUTUpdateColorRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*PUTUpdateColorRequest) Reset ¶
func (m *PUTUpdateColorRequest) Reset()
func (PUTUpdateColorRequest) Response ¶
func (body PUTUpdateColorRequest) Response(ctx context.Context) (*PUTUpdateColorResponse, 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 (PUTUpdateColorRequest) Send ¶
func (body PUTUpdateColorRequest) Send(ctx context.Context) *PUTUpdateColorFuture
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 (PUTUpdateColorRequest) SendVia ¶
func (body PUTUpdateColorRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateColorFuture
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 (PUTUpdateColorRequest) ServiceName ¶
func (body PUTUpdateColorRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*PUTUpdateColorRequest) String ¶
func (m *PUTUpdateColorRequest) String() string
func (*PUTUpdateColorRequest) XXX_DiscardUnknown ¶
func (m *PUTUpdateColorRequest) XXX_DiscardUnknown()
func (*PUTUpdateColorRequest) XXX_Marshal ¶
func (m *PUTUpdateColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateColorRequest) XXX_Merge ¶
func (m *PUTUpdateColorRequest) XXX_Merge(src proto.Message)
func (*PUTUpdateColorRequest) XXX_Size ¶
func (m *PUTUpdateColorRequest) XXX_Size() int
func (*PUTUpdateColorRequest) XXX_Unmarshal ¶
func (m *PUTUpdateColorRequest) XXX_Unmarshal(b []byte) error
type PUTUpdateColorResponse ¶
type PUTUpdateColorResponse struct { Color *Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateColorResponse) Descriptor ¶
func (*PUTUpdateColorResponse) Descriptor() ([]byte, []int)
func (*PUTUpdateColorResponse) GetColor ¶
func (m *PUTUpdateColorResponse) GetColor() *Color
func (*PUTUpdateColorResponse) ProtoMessage ¶
func (*PUTUpdateColorResponse) ProtoMessage()
func (*PUTUpdateColorResponse) Reset ¶
func (m *PUTUpdateColorResponse) Reset()
func (*PUTUpdateColorResponse) String ¶
func (m *PUTUpdateColorResponse) String() string
func (*PUTUpdateColorResponse) XXX_DiscardUnknown ¶
func (m *PUTUpdateColorResponse) XXX_DiscardUnknown()
func (*PUTUpdateColorResponse) XXX_Marshal ¶
func (m *PUTUpdateColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateColorResponse) XXX_Merge ¶
func (m *PUTUpdateColorResponse) XXX_Merge(src proto.Message)
func (*PUTUpdateColorResponse) XXX_Size ¶
func (m *PUTUpdateColorResponse) XXX_Size() int
func (*PUTUpdateColorResponse) XXX_Unmarshal ¶
func (m *PUTUpdateColorResponse) XXX_Unmarshal(b []byte) error