Documentation ¶
Index ¶
- type Brand
- func (*Brand) Descriptor() ([]byte, []int)
- func (m *Brand) GetCreatedAt() string
- func (m *Brand) GetDescription() string
- func (m *Brand) GetId() string
- func (m *Brand) GetImageId() string
- func (m *Brand) GetName() string
- func (m *Brand) GetShortName() string
- func (m *Brand) GetSlug() string
- func (m *Brand) GetUpdatedAt() string
- func (*Brand) ProtoMessage()
- func (m *Brand) Reset()
- func (m *Brand) String() string
- func (m *Brand) XXX_DiscardUnknown()
- func (m *Brand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Brand) XXX_Merge(src proto.Message)
- func (m *Brand) XXX_Size() int
- func (m *Brand) XXX_Unmarshal(b []byte) error
- type DELETERemoveBrandFuture
- type DELETERemoveBrandRequest
- func (*DELETERemoveBrandRequest) Descriptor() ([]byte, []int)
- func (body DELETERemoveBrandRequest) FullPath() string
- func (m *DELETERemoveBrandRequest) GetId() string
- func (body DELETERemoveBrandRequest) Host() string
- func (body DELETERemoveBrandRequest) Method() string
- func (body DELETERemoveBrandRequest) Path() string
- func (*DELETERemoveBrandRequest) ProtoMessage()
- func (body DELETERemoveBrandRequest) Request(ctx context.Context) typhon.Request
- func (m *DELETERemoveBrandRequest) Reset()
- func (body DELETERemoveBrandRequest) Response(ctx context.Context) (*DELETERemoveBrandResponse, error)
- func (body DELETERemoveBrandRequest) Send(ctx context.Context) *DELETERemoveBrandFuture
- func (body DELETERemoveBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveBrandFuture
- func (body DELETERemoveBrandRequest) ServiceName() string
- func (m *DELETERemoveBrandRequest) String() string
- func (m *DELETERemoveBrandRequest) XXX_DiscardUnknown()
- func (m *DELETERemoveBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveBrandRequest) XXX_Merge(src proto.Message)
- func (m *DELETERemoveBrandRequest) XXX_Size() int
- func (m *DELETERemoveBrandRequest) XXX_Unmarshal(b []byte) error
- type DELETERemoveBrandResponse
- func (*DELETERemoveBrandResponse) Descriptor() ([]byte, []int)
- func (*DELETERemoveBrandResponse) ProtoMessage()
- func (m *DELETERemoveBrandResponse) Reset()
- func (m *DELETERemoveBrandResponse) String() string
- func (m *DELETERemoveBrandResponse) XXX_DiscardUnknown()
- func (m *DELETERemoveBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveBrandResponse) XXX_Merge(src proto.Message)
- func (m *DELETERemoveBrandResponse) XXX_Size() int
- func (m *DELETERemoveBrandResponse) XXX_Unmarshal(b []byte) error
- type GETListBrandsFuture
- type GETListBrandsRequest
- func (*GETListBrandsRequest) Descriptor() ([]byte, []int)
- func (body GETListBrandsRequest) FullPath() string
- func (body GETListBrandsRequest) Host() string
- func (body GETListBrandsRequest) Method() string
- func (body GETListBrandsRequest) Path() string
- func (*GETListBrandsRequest) ProtoMessage()
- func (body GETListBrandsRequest) Request(ctx context.Context) typhon.Request
- func (m *GETListBrandsRequest) Reset()
- func (body GETListBrandsRequest) Response(ctx context.Context) (*GETListBrandsResponse, error)
- func (body GETListBrandsRequest) Send(ctx context.Context) *GETListBrandsFuture
- func (body GETListBrandsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListBrandsFuture
- func (body GETListBrandsRequest) ServiceName() string
- func (m *GETListBrandsRequest) String() string
- func (m *GETListBrandsRequest) XXX_DiscardUnknown()
- func (m *GETListBrandsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListBrandsRequest) XXX_Merge(src proto.Message)
- func (m *GETListBrandsRequest) XXX_Size() int
- func (m *GETListBrandsRequest) XXX_Unmarshal(b []byte) error
- type GETListBrandsResponse
- func (*GETListBrandsResponse) Descriptor() ([]byte, []int)
- func (m *GETListBrandsResponse) GetBrands() []*Brand
- func (*GETListBrandsResponse) ProtoMessage()
- func (m *GETListBrandsResponse) Reset()
- func (m *GETListBrandsResponse) String() string
- func (m *GETListBrandsResponse) XXX_DiscardUnknown()
- func (m *GETListBrandsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListBrandsResponse) XXX_Merge(src proto.Message)
- func (m *GETListBrandsResponse) XXX_Size() int
- func (m *GETListBrandsResponse) XXX_Unmarshal(b []byte) error
- type GETReadBrandFuture
- type GETReadBrandRequest
- func (*GETReadBrandRequest) Descriptor() ([]byte, []int)
- func (body GETReadBrandRequest) FullPath() string
- func (m *GETReadBrandRequest) GetId() string
- func (m *GETReadBrandRequest) GetShortName() string
- func (m *GETReadBrandRequest) GetSlug() string
- func (body GETReadBrandRequest) Host() string
- func (body GETReadBrandRequest) Method() string
- func (body GETReadBrandRequest) Path() string
- func (*GETReadBrandRequest) ProtoMessage()
- func (body GETReadBrandRequest) Request(ctx context.Context) typhon.Request
- func (m *GETReadBrandRequest) Reset()
- func (body GETReadBrandRequest) Response(ctx context.Context) (*GETReadBrandResponse, error)
- func (body GETReadBrandRequest) Send(ctx context.Context) *GETReadBrandFuture
- func (body GETReadBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadBrandFuture
- func (body GETReadBrandRequest) ServiceName() string
- func (m *GETReadBrandRequest) String() string
- func (m *GETReadBrandRequest) XXX_DiscardUnknown()
- func (m *GETReadBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadBrandRequest) XXX_Merge(src proto.Message)
- func (m *GETReadBrandRequest) XXX_Size() int
- func (m *GETReadBrandRequest) XXX_Unmarshal(b []byte) error
- type GETReadBrandResponse
- func (*GETReadBrandResponse) Descriptor() ([]byte, []int)
- func (m *GETReadBrandResponse) GetBrand() *Brand
- func (*GETReadBrandResponse) ProtoMessage()
- func (m *GETReadBrandResponse) Reset()
- func (m *GETReadBrandResponse) String() string
- func (m *GETReadBrandResponse) XXX_DiscardUnknown()
- func (m *GETReadBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadBrandResponse) XXX_Merge(src proto.Message)
- func (m *GETReadBrandResponse) XXX_Size() int
- func (m *GETReadBrandResponse) XXX_Unmarshal(b []byte) error
- type POSTCreateBrandFuture
- type POSTCreateBrandRequest
- func (*POSTCreateBrandRequest) Descriptor() ([]byte, []int)
- func (body POSTCreateBrandRequest) FullPath() string
- func (m *POSTCreateBrandRequest) GetDescription() string
- func (m *POSTCreateBrandRequest) GetId() string
- func (m *POSTCreateBrandRequest) GetImageId() string
- func (m *POSTCreateBrandRequest) GetName() string
- func (m *POSTCreateBrandRequest) GetShortName() string
- func (m *POSTCreateBrandRequest) GetSlug() string
- func (body POSTCreateBrandRequest) Host() string
- func (body POSTCreateBrandRequest) Method() string
- func (body POSTCreateBrandRequest) Path() string
- func (*POSTCreateBrandRequest) ProtoMessage()
- func (body POSTCreateBrandRequest) Request(ctx context.Context) typhon.Request
- func (m *POSTCreateBrandRequest) Reset()
- func (body POSTCreateBrandRequest) Response(ctx context.Context) (*POSTCreateBrandResponse, error)
- func (body POSTCreateBrandRequest) Send(ctx context.Context) *POSTCreateBrandFuture
- func (body POSTCreateBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateBrandFuture
- func (body POSTCreateBrandRequest) ServiceName() string
- func (m *POSTCreateBrandRequest) String() string
- func (m *POSTCreateBrandRequest) XXX_DiscardUnknown()
- func (m *POSTCreateBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateBrandRequest) XXX_Merge(src proto.Message)
- func (m *POSTCreateBrandRequest) XXX_Size() int
- func (m *POSTCreateBrandRequest) XXX_Unmarshal(b []byte) error
- type POSTCreateBrandResponse
- func (*POSTCreateBrandResponse) Descriptor() ([]byte, []int)
- func (m *POSTCreateBrandResponse) GetBrand() *Brand
- func (*POSTCreateBrandResponse) ProtoMessage()
- func (m *POSTCreateBrandResponse) Reset()
- func (m *POSTCreateBrandResponse) String() string
- func (m *POSTCreateBrandResponse) XXX_DiscardUnknown()
- func (m *POSTCreateBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateBrandResponse) XXX_Merge(src proto.Message)
- func (m *POSTCreateBrandResponse) XXX_Size() int
- func (m *POSTCreateBrandResponse) XXX_Unmarshal(b []byte) error
- type PUTUpdateBrandFuture
- type PUTUpdateBrandRequest
- func (*PUTUpdateBrandRequest) Descriptor() ([]byte, []int)
- func (body PUTUpdateBrandRequest) FullPath() string
- func (m *PUTUpdateBrandRequest) GetDescription() string
- func (m *PUTUpdateBrandRequest) GetId() string
- func (m *PUTUpdateBrandRequest) GetImageId() string
- func (m *PUTUpdateBrandRequest) GetName() string
- func (body PUTUpdateBrandRequest) Host() string
- func (body PUTUpdateBrandRequest) Method() string
- func (body PUTUpdateBrandRequest) Path() string
- func (*PUTUpdateBrandRequest) ProtoMessage()
- func (body PUTUpdateBrandRequest) Request(ctx context.Context) typhon.Request
- func (m *PUTUpdateBrandRequest) Reset()
- func (body PUTUpdateBrandRequest) Response(ctx context.Context) (*PUTUpdateBrandResponse, error)
- func (body PUTUpdateBrandRequest) Send(ctx context.Context) *PUTUpdateBrandFuture
- func (body PUTUpdateBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateBrandFuture
- func (body PUTUpdateBrandRequest) ServiceName() string
- func (m *PUTUpdateBrandRequest) String() string
- func (m *PUTUpdateBrandRequest) XXX_DiscardUnknown()
- func (m *PUTUpdateBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateBrandRequest) XXX_Merge(src proto.Message)
- func (m *PUTUpdateBrandRequest) XXX_Size() int
- func (m *PUTUpdateBrandRequest) XXX_Unmarshal(b []byte) error
- type PUTUpdateBrandResponse
- func (*PUTUpdateBrandResponse) Descriptor() ([]byte, []int)
- func (m *PUTUpdateBrandResponse) GetBrand() *Brand
- func (*PUTUpdateBrandResponse) ProtoMessage()
- func (m *PUTUpdateBrandResponse) Reset()
- func (m *PUTUpdateBrandResponse) String() string
- func (m *PUTUpdateBrandResponse) XXX_DiscardUnknown()
- func (m *PUTUpdateBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateBrandResponse) XXX_Merge(src proto.Message)
- func (m *PUTUpdateBrandResponse) XXX_Size() int
- func (m *PUTUpdateBrandResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Brand ¶
type Brand 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"` ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` ImageId string `protobuf:"bytes,6,opt,name=image_id,json=imageId,proto3" json:"image_id,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 (*Brand) Descriptor ¶
func (*Brand) GetCreatedAt ¶
func (*Brand) GetDescription ¶
func (*Brand) GetImageId ¶
func (*Brand) GetShortName ¶
func (*Brand) GetUpdatedAt ¶
func (*Brand) ProtoMessage ¶
func (*Brand) ProtoMessage()
func (*Brand) XXX_DiscardUnknown ¶
func (m *Brand) XXX_DiscardUnknown()
func (*Brand) XXX_Marshal ¶
func (*Brand) XXX_Unmarshal ¶
type DELETERemoveBrandFuture ¶
type DELETERemoveBrandFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
DELETERemoveBrandFuture is an intermediate future used for parallel requests with DELETERemoveBrandRequest
func (*DELETERemoveBrandFuture) DecodeResponse ¶
func (f *DELETERemoveBrandFuture) DecodeResponse() (*DELETERemoveBrandResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*DELETERemoveBrandFuture) Done ¶
func (f *DELETERemoveBrandFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type DELETERemoveBrandRequest ¶
type DELETERemoveBrandRequest 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 (*DELETERemoveBrandRequest) Descriptor ¶
func (*DELETERemoveBrandRequest) Descriptor() ([]byte, []int)
func (DELETERemoveBrandRequest) FullPath ¶
func (body DELETERemoveBrandRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*DELETERemoveBrandRequest) GetId ¶
func (m *DELETERemoveBrandRequest) GetId() string
func (DELETERemoveBrandRequest) Host ¶
func (body DELETERemoveBrandRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (DELETERemoveBrandRequest) Method ¶
func (body DELETERemoveBrandRequest) 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 (DELETERemoveBrandRequest) Path ¶
func (body DELETERemoveBrandRequest) Path() string
Path is the HTTP path to this endpoint
func (*DELETERemoveBrandRequest) ProtoMessage ¶
func (*DELETERemoveBrandRequest) ProtoMessage()
func (DELETERemoveBrandRequest) Request ¶
func (body DELETERemoveBrandRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*DELETERemoveBrandRequest) Reset ¶
func (m *DELETERemoveBrandRequest) Reset()
func (DELETERemoveBrandRequest) Response ¶
func (body DELETERemoveBrandRequest) Response(ctx context.Context) (*DELETERemoveBrandResponse, 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 (DELETERemoveBrandRequest) Send ¶
func (body DELETERemoveBrandRequest) Send(ctx context.Context) *DELETERemoveBrandFuture
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 (DELETERemoveBrandRequest) SendVia ¶
func (body DELETERemoveBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveBrandFuture
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 (DELETERemoveBrandRequest) ServiceName ¶
func (body DELETERemoveBrandRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*DELETERemoveBrandRequest) String ¶
func (m *DELETERemoveBrandRequest) String() string
func (*DELETERemoveBrandRequest) XXX_DiscardUnknown ¶
func (m *DELETERemoveBrandRequest) XXX_DiscardUnknown()
func (*DELETERemoveBrandRequest) XXX_Marshal ¶
func (m *DELETERemoveBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveBrandRequest) XXX_Merge ¶
func (m *DELETERemoveBrandRequest) XXX_Merge(src proto.Message)
func (*DELETERemoveBrandRequest) XXX_Size ¶
func (m *DELETERemoveBrandRequest) XXX_Size() int
func (*DELETERemoveBrandRequest) XXX_Unmarshal ¶
func (m *DELETERemoveBrandRequest) XXX_Unmarshal(b []byte) error
type DELETERemoveBrandResponse ¶
type DELETERemoveBrandResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DELETERemoveBrandResponse) Descriptor ¶
func (*DELETERemoveBrandResponse) Descriptor() ([]byte, []int)
func (*DELETERemoveBrandResponse) ProtoMessage ¶
func (*DELETERemoveBrandResponse) ProtoMessage()
func (*DELETERemoveBrandResponse) Reset ¶
func (m *DELETERemoveBrandResponse) Reset()
func (*DELETERemoveBrandResponse) String ¶
func (m *DELETERemoveBrandResponse) String() string
func (*DELETERemoveBrandResponse) XXX_DiscardUnknown ¶
func (m *DELETERemoveBrandResponse) XXX_DiscardUnknown()
func (*DELETERemoveBrandResponse) XXX_Marshal ¶
func (m *DELETERemoveBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveBrandResponse) XXX_Merge ¶
func (m *DELETERemoveBrandResponse) XXX_Merge(src proto.Message)
func (*DELETERemoveBrandResponse) XXX_Size ¶
func (m *DELETERemoveBrandResponse) XXX_Size() int
func (*DELETERemoveBrandResponse) XXX_Unmarshal ¶
func (m *DELETERemoveBrandResponse) XXX_Unmarshal(b []byte) error
type GETListBrandsFuture ¶
type GETListBrandsFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETListBrandsFuture is an intermediate future used for parallel requests with GETListBrandsRequest
func (*GETListBrandsFuture) DecodeResponse ¶
func (f *GETListBrandsFuture) DecodeResponse() (*GETListBrandsResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETListBrandsFuture) Done ¶
func (f *GETListBrandsFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETListBrandsRequest ¶
type GETListBrandsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListBrandsRequest) Descriptor ¶
func (*GETListBrandsRequest) Descriptor() ([]byte, []int)
func (GETListBrandsRequest) FullPath ¶
func (body GETListBrandsRequest) FullPath() string
FullPath is the full routable URL to this service.
func (GETListBrandsRequest) Host ¶
func (body GETListBrandsRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETListBrandsRequest) Method ¶
func (body GETListBrandsRequest) 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 (GETListBrandsRequest) Path ¶
func (body GETListBrandsRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETListBrandsRequest) ProtoMessage ¶
func (*GETListBrandsRequest) ProtoMessage()
func (GETListBrandsRequest) Request ¶
func (body GETListBrandsRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETListBrandsRequest) Reset ¶
func (m *GETListBrandsRequest) Reset()
func (GETListBrandsRequest) Response ¶
func (body GETListBrandsRequest) Response(ctx context.Context) (*GETListBrandsResponse, 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 (GETListBrandsRequest) Send ¶
func (body GETListBrandsRequest) Send(ctx context.Context) *GETListBrandsFuture
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 (GETListBrandsRequest) SendVia ¶
func (body GETListBrandsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListBrandsFuture
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 (GETListBrandsRequest) ServiceName ¶
func (body GETListBrandsRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETListBrandsRequest) String ¶
func (m *GETListBrandsRequest) String() string
func (*GETListBrandsRequest) XXX_DiscardUnknown ¶
func (m *GETListBrandsRequest) XXX_DiscardUnknown()
func (*GETListBrandsRequest) XXX_Marshal ¶
func (m *GETListBrandsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListBrandsRequest) XXX_Merge ¶
func (m *GETListBrandsRequest) XXX_Merge(src proto.Message)
func (*GETListBrandsRequest) XXX_Size ¶
func (m *GETListBrandsRequest) XXX_Size() int
func (*GETListBrandsRequest) XXX_Unmarshal ¶
func (m *GETListBrandsRequest) XXX_Unmarshal(b []byte) error
type GETListBrandsResponse ¶
type GETListBrandsResponse struct { Brands []*Brand `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListBrandsResponse) Descriptor ¶
func (*GETListBrandsResponse) Descriptor() ([]byte, []int)
func (*GETListBrandsResponse) GetBrands ¶
func (m *GETListBrandsResponse) GetBrands() []*Brand
func (*GETListBrandsResponse) ProtoMessage ¶
func (*GETListBrandsResponse) ProtoMessage()
func (*GETListBrandsResponse) Reset ¶
func (m *GETListBrandsResponse) Reset()
func (*GETListBrandsResponse) String ¶
func (m *GETListBrandsResponse) String() string
func (*GETListBrandsResponse) XXX_DiscardUnknown ¶
func (m *GETListBrandsResponse) XXX_DiscardUnknown()
func (*GETListBrandsResponse) XXX_Marshal ¶
func (m *GETListBrandsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListBrandsResponse) XXX_Merge ¶
func (m *GETListBrandsResponse) XXX_Merge(src proto.Message)
func (*GETListBrandsResponse) XXX_Size ¶
func (m *GETListBrandsResponse) XXX_Size() int
func (*GETListBrandsResponse) XXX_Unmarshal ¶
func (m *GETListBrandsResponse) XXX_Unmarshal(b []byte) error
type GETReadBrandFuture ¶
type GETReadBrandFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETReadBrandFuture is an intermediate future used for parallel requests with GETReadBrandRequest
func (*GETReadBrandFuture) DecodeResponse ¶
func (f *GETReadBrandFuture) DecodeResponse() (*GETReadBrandResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETReadBrandFuture) Done ¶
func (f *GETReadBrandFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETReadBrandRequest ¶
type GETReadBrandRequest 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"` ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadBrandRequest) Descriptor ¶
func (*GETReadBrandRequest) Descriptor() ([]byte, []int)
func (GETReadBrandRequest) FullPath ¶
func (body GETReadBrandRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*GETReadBrandRequest) GetId ¶
func (m *GETReadBrandRequest) GetId() string
func (*GETReadBrandRequest) GetShortName ¶
func (m *GETReadBrandRequest) GetShortName() string
func (*GETReadBrandRequest) GetSlug ¶
func (m *GETReadBrandRequest) GetSlug() string
func (GETReadBrandRequest) Host ¶
func (body GETReadBrandRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETReadBrandRequest) Method ¶
func (body GETReadBrandRequest) 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 (GETReadBrandRequest) Path ¶
func (body GETReadBrandRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETReadBrandRequest) ProtoMessage ¶
func (*GETReadBrandRequest) ProtoMessage()
func (GETReadBrandRequest) Request ¶
func (body GETReadBrandRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETReadBrandRequest) Reset ¶
func (m *GETReadBrandRequest) Reset()
func (GETReadBrandRequest) Response ¶
func (body GETReadBrandRequest) Response(ctx context.Context) (*GETReadBrandResponse, 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 (GETReadBrandRequest) Send ¶
func (body GETReadBrandRequest) Send(ctx context.Context) *GETReadBrandFuture
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 (GETReadBrandRequest) SendVia ¶
func (body GETReadBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadBrandFuture
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 (GETReadBrandRequest) ServiceName ¶
func (body GETReadBrandRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETReadBrandRequest) String ¶
func (m *GETReadBrandRequest) String() string
func (*GETReadBrandRequest) XXX_DiscardUnknown ¶
func (m *GETReadBrandRequest) XXX_DiscardUnknown()
func (*GETReadBrandRequest) XXX_Marshal ¶
func (m *GETReadBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadBrandRequest) XXX_Merge ¶
func (m *GETReadBrandRequest) XXX_Merge(src proto.Message)
func (*GETReadBrandRequest) XXX_Size ¶
func (m *GETReadBrandRequest) XXX_Size() int
func (*GETReadBrandRequest) XXX_Unmarshal ¶
func (m *GETReadBrandRequest) XXX_Unmarshal(b []byte) error
type GETReadBrandResponse ¶
type GETReadBrandResponse struct { Brand *Brand `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadBrandResponse) Descriptor ¶
func (*GETReadBrandResponse) Descriptor() ([]byte, []int)
func (*GETReadBrandResponse) GetBrand ¶
func (m *GETReadBrandResponse) GetBrand() *Brand
func (*GETReadBrandResponse) ProtoMessage ¶
func (*GETReadBrandResponse) ProtoMessage()
func (*GETReadBrandResponse) Reset ¶
func (m *GETReadBrandResponse) Reset()
func (*GETReadBrandResponse) String ¶
func (m *GETReadBrandResponse) String() string
func (*GETReadBrandResponse) XXX_DiscardUnknown ¶
func (m *GETReadBrandResponse) XXX_DiscardUnknown()
func (*GETReadBrandResponse) XXX_Marshal ¶
func (m *GETReadBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadBrandResponse) XXX_Merge ¶
func (m *GETReadBrandResponse) XXX_Merge(src proto.Message)
func (*GETReadBrandResponse) XXX_Size ¶
func (m *GETReadBrandResponse) XXX_Size() int
func (*GETReadBrandResponse) XXX_Unmarshal ¶
func (m *GETReadBrandResponse) XXX_Unmarshal(b []byte) error
type POSTCreateBrandFuture ¶
type POSTCreateBrandFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
POSTCreateBrandFuture is an intermediate future used for parallel requests with POSTCreateBrandRequest
func (*POSTCreateBrandFuture) DecodeResponse ¶
func (f *POSTCreateBrandFuture) DecodeResponse() (*POSTCreateBrandResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*POSTCreateBrandFuture) Done ¶
func (f *POSTCreateBrandFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type POSTCreateBrandRequest ¶
type POSTCreateBrandRequest 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"` ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` ImageId string `protobuf:"bytes,6,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateBrandRequest) Descriptor ¶
func (*POSTCreateBrandRequest) Descriptor() ([]byte, []int)
func (POSTCreateBrandRequest) FullPath ¶
func (body POSTCreateBrandRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*POSTCreateBrandRequest) GetDescription ¶
func (m *POSTCreateBrandRequest) GetDescription() string
func (*POSTCreateBrandRequest) GetId ¶
func (m *POSTCreateBrandRequest) GetId() string
func (*POSTCreateBrandRequest) GetImageId ¶
func (m *POSTCreateBrandRequest) GetImageId() string
func (*POSTCreateBrandRequest) GetName ¶
func (m *POSTCreateBrandRequest) GetName() string
func (*POSTCreateBrandRequest) GetShortName ¶
func (m *POSTCreateBrandRequest) GetShortName() string
func (*POSTCreateBrandRequest) GetSlug ¶
func (m *POSTCreateBrandRequest) GetSlug() string
func (POSTCreateBrandRequest) Host ¶
func (body POSTCreateBrandRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (POSTCreateBrandRequest) Method ¶
func (body POSTCreateBrandRequest) 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 (POSTCreateBrandRequest) Path ¶
func (body POSTCreateBrandRequest) Path() string
Path is the HTTP path to this endpoint
func (*POSTCreateBrandRequest) ProtoMessage ¶
func (*POSTCreateBrandRequest) ProtoMessage()
func (POSTCreateBrandRequest) Request ¶
func (body POSTCreateBrandRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*POSTCreateBrandRequest) Reset ¶
func (m *POSTCreateBrandRequest) Reset()
func (POSTCreateBrandRequest) Response ¶
func (body POSTCreateBrandRequest) Response(ctx context.Context) (*POSTCreateBrandResponse, 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 (POSTCreateBrandRequest) Send ¶
func (body POSTCreateBrandRequest) Send(ctx context.Context) *POSTCreateBrandFuture
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 (POSTCreateBrandRequest) SendVia ¶
func (body POSTCreateBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateBrandFuture
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 (POSTCreateBrandRequest) ServiceName ¶
func (body POSTCreateBrandRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*POSTCreateBrandRequest) String ¶
func (m *POSTCreateBrandRequest) String() string
func (*POSTCreateBrandRequest) XXX_DiscardUnknown ¶
func (m *POSTCreateBrandRequest) XXX_DiscardUnknown()
func (*POSTCreateBrandRequest) XXX_Marshal ¶
func (m *POSTCreateBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateBrandRequest) XXX_Merge ¶
func (m *POSTCreateBrandRequest) XXX_Merge(src proto.Message)
func (*POSTCreateBrandRequest) XXX_Size ¶
func (m *POSTCreateBrandRequest) XXX_Size() int
func (*POSTCreateBrandRequest) XXX_Unmarshal ¶
func (m *POSTCreateBrandRequest) XXX_Unmarshal(b []byte) error
type POSTCreateBrandResponse ¶
type POSTCreateBrandResponse struct { Brand *Brand `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateBrandResponse) Descriptor ¶
func (*POSTCreateBrandResponse) Descriptor() ([]byte, []int)
func (*POSTCreateBrandResponse) GetBrand ¶
func (m *POSTCreateBrandResponse) GetBrand() *Brand
func (*POSTCreateBrandResponse) ProtoMessage ¶
func (*POSTCreateBrandResponse) ProtoMessage()
func (*POSTCreateBrandResponse) Reset ¶
func (m *POSTCreateBrandResponse) Reset()
func (*POSTCreateBrandResponse) String ¶
func (m *POSTCreateBrandResponse) String() string
func (*POSTCreateBrandResponse) XXX_DiscardUnknown ¶
func (m *POSTCreateBrandResponse) XXX_DiscardUnknown()
func (*POSTCreateBrandResponse) XXX_Marshal ¶
func (m *POSTCreateBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateBrandResponse) XXX_Merge ¶
func (m *POSTCreateBrandResponse) XXX_Merge(src proto.Message)
func (*POSTCreateBrandResponse) XXX_Size ¶
func (m *POSTCreateBrandResponse) XXX_Size() int
func (*POSTCreateBrandResponse) XXX_Unmarshal ¶
func (m *POSTCreateBrandResponse) XXX_Unmarshal(b []byte) error
type PUTUpdateBrandFuture ¶
type PUTUpdateBrandFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
PUTUpdateBrandFuture is an intermediate future used for parallel requests with PUTUpdateBrandRequest
func (*PUTUpdateBrandFuture) DecodeResponse ¶
func (f *PUTUpdateBrandFuture) DecodeResponse() (*PUTUpdateBrandResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*PUTUpdateBrandFuture) Done ¶
func (f *PUTUpdateBrandFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type PUTUpdateBrandRequest ¶
type PUTUpdateBrandRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateBrandRequest) Descriptor ¶
func (*PUTUpdateBrandRequest) Descriptor() ([]byte, []int)
func (PUTUpdateBrandRequest) FullPath ¶
func (body PUTUpdateBrandRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*PUTUpdateBrandRequest) GetDescription ¶
func (m *PUTUpdateBrandRequest) GetDescription() string
func (*PUTUpdateBrandRequest) GetId ¶
func (m *PUTUpdateBrandRequest) GetId() string
func (*PUTUpdateBrandRequest) GetImageId ¶
func (m *PUTUpdateBrandRequest) GetImageId() string
func (*PUTUpdateBrandRequest) GetName ¶
func (m *PUTUpdateBrandRequest) GetName() string
func (PUTUpdateBrandRequest) Host ¶
func (body PUTUpdateBrandRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (PUTUpdateBrandRequest) Method ¶
func (body PUTUpdateBrandRequest) 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 (PUTUpdateBrandRequest) Path ¶
func (body PUTUpdateBrandRequest) Path() string
Path is the HTTP path to this endpoint
func (*PUTUpdateBrandRequest) ProtoMessage ¶
func (*PUTUpdateBrandRequest) ProtoMessage()
func (PUTUpdateBrandRequest) Request ¶
func (body PUTUpdateBrandRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*PUTUpdateBrandRequest) Reset ¶
func (m *PUTUpdateBrandRequest) Reset()
func (PUTUpdateBrandRequest) Response ¶
func (body PUTUpdateBrandRequest) Response(ctx context.Context) (*PUTUpdateBrandResponse, 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 (PUTUpdateBrandRequest) Send ¶
func (body PUTUpdateBrandRequest) Send(ctx context.Context) *PUTUpdateBrandFuture
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 (PUTUpdateBrandRequest) SendVia ¶
func (body PUTUpdateBrandRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateBrandFuture
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 (PUTUpdateBrandRequest) ServiceName ¶
func (body PUTUpdateBrandRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*PUTUpdateBrandRequest) String ¶
func (m *PUTUpdateBrandRequest) String() string
func (*PUTUpdateBrandRequest) XXX_DiscardUnknown ¶
func (m *PUTUpdateBrandRequest) XXX_DiscardUnknown()
func (*PUTUpdateBrandRequest) XXX_Marshal ¶
func (m *PUTUpdateBrandRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateBrandRequest) XXX_Merge ¶
func (m *PUTUpdateBrandRequest) XXX_Merge(src proto.Message)
func (*PUTUpdateBrandRequest) XXX_Size ¶
func (m *PUTUpdateBrandRequest) XXX_Size() int
func (*PUTUpdateBrandRequest) XXX_Unmarshal ¶
func (m *PUTUpdateBrandRequest) XXX_Unmarshal(b []byte) error
type PUTUpdateBrandResponse ¶
type PUTUpdateBrandResponse struct { Brand *Brand `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateBrandResponse) Descriptor ¶
func (*PUTUpdateBrandResponse) Descriptor() ([]byte, []int)
func (*PUTUpdateBrandResponse) GetBrand ¶
func (m *PUTUpdateBrandResponse) GetBrand() *Brand
func (*PUTUpdateBrandResponse) ProtoMessage ¶
func (*PUTUpdateBrandResponse) ProtoMessage()
func (*PUTUpdateBrandResponse) Reset ¶
func (m *PUTUpdateBrandResponse) Reset()
func (*PUTUpdateBrandResponse) String ¶
func (m *PUTUpdateBrandResponse) String() string
func (*PUTUpdateBrandResponse) XXX_DiscardUnknown ¶
func (m *PUTUpdateBrandResponse) XXX_DiscardUnknown()
func (*PUTUpdateBrandResponse) XXX_Marshal ¶
func (m *PUTUpdateBrandResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateBrandResponse) XXX_Merge ¶
func (m *PUTUpdateBrandResponse) XXX_Merge(src proto.Message)
func (*PUTUpdateBrandResponse) XXX_Size ¶
func (m *PUTUpdateBrandResponse) XXX_Size() int
func (*PUTUpdateBrandResponse) XXX_Unmarshal ¶
func (m *PUTUpdateBrandResponse) XXX_Unmarshal(b []byte) error