categoryproto

package
v0.0.0-...-73856a8 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category 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 (*Category) Descriptor

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

func (*Category) GetCreatedAt

func (m *Category) GetCreatedAt() string

func (*Category) GetId

func (m *Category) GetId() string

func (*Category) GetName

func (m *Category) GetName() string

func (*Category) GetSlug

func (m *Category) GetSlug() string

func (*Category) GetUpdatedAt

func (m *Category) GetUpdatedAt() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) Reset

func (m *Category) Reset()

func (*Category) String

func (m *Category) String() string

func (*Category) XXX_DiscardUnknown

func (m *Category) XXX_DiscardUnknown()

func (*Category) XXX_Marshal

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

func (*Category) XXX_Merge

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

func (*Category) XXX_Size

func (m *Category) XXX_Size() int

func (*Category) XXX_Unmarshal

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

type DELETERemoveCategoryFuture

type DELETERemoveCategoryFuture struct {
	Future   *typhon.ResponseFuture
	Response *typhon.Response
}

DELETERemoveCategoryFuture is an intermediate future used for parallel requests with DELETERemoveCategoryRequest

func (*DELETERemoveCategoryFuture) DecodeResponse

DecodeResponse waits for this future to be done and then decodes the response into a concrete type.

func (*DELETERemoveCategoryFuture) Done

func (f *DELETERemoveCategoryFuture) Done()

Done waits for a response from a typhon future, and is safe to call multiple times in a row.

type DELETERemoveCategoryRequest

type DELETERemoveCategoryRequest 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 (*DELETERemoveCategoryRequest) Descriptor

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

func (DELETERemoveCategoryRequest) FullPath

func (body DELETERemoveCategoryRequest) FullPath() string

FullPath is the full routable URL to this service.

func (*DELETERemoveCategoryRequest) GetId

func (DELETERemoveCategoryRequest) Host

func (body DELETERemoveCategoryRequest) Host() string

Host is the short-form service name, e.g. s-brand.

func (DELETERemoveCategoryRequest) Method

func (body DELETERemoveCategoryRequest) 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 (DELETERemoveCategoryRequest) Path

func (body DELETERemoveCategoryRequest) Path() string

Path is the HTTP path to this endpoint

func (*DELETERemoveCategoryRequest) ProtoMessage

func (*DELETERemoveCategoryRequest) ProtoMessage()

func (DELETERemoveCategoryRequest) Request

Request returns a typhon request for this type.

func (*DELETERemoveCategoryRequest) Reset

func (m *DELETERemoveCategoryRequest) Reset()

func (DELETERemoveCategoryRequest) Response

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 (DELETERemoveCategoryRequest) Send

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 (DELETERemoveCategoryRequest) SendVia

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 (DELETERemoveCategoryRequest) ServiceName

func (body DELETERemoveCategoryRequest) ServiceName() string

ServiceName is the long-form service name, e.g. service.brand.

func (*DELETERemoveCategoryRequest) String

func (m *DELETERemoveCategoryRequest) String() string

func (*DELETERemoveCategoryRequest) XXX_DiscardUnknown

func (m *DELETERemoveCategoryRequest) XXX_DiscardUnknown()

func (*DELETERemoveCategoryRequest) XXX_Marshal

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

func (*DELETERemoveCategoryRequest) XXX_Merge

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

func (*DELETERemoveCategoryRequest) XXX_Size

func (m *DELETERemoveCategoryRequest) XXX_Size() int

func (*DELETERemoveCategoryRequest) XXX_Unmarshal

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

type DELETERemoveCategoryResponse

type DELETERemoveCategoryResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DELETERemoveCategoryResponse) Descriptor

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

func (*DELETERemoveCategoryResponse) ProtoMessage

func (*DELETERemoveCategoryResponse) ProtoMessage()

func (*DELETERemoveCategoryResponse) Reset

func (m *DELETERemoveCategoryResponse) Reset()

func (*DELETERemoveCategoryResponse) String

func (*DELETERemoveCategoryResponse) XXX_DiscardUnknown

func (m *DELETERemoveCategoryResponse) XXX_DiscardUnknown()

func (*DELETERemoveCategoryResponse) XXX_Marshal

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

func (*DELETERemoveCategoryResponse) XXX_Merge

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

func (*DELETERemoveCategoryResponse) XXX_Size

func (m *DELETERemoveCategoryResponse) XXX_Size() int

func (*DELETERemoveCategoryResponse) XXX_Unmarshal

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

type GETListCategoriesFuture

type GETListCategoriesFuture struct {
	Future   *typhon.ResponseFuture
	Response *typhon.Response
}

GETListCategoriesFuture is an intermediate future used for parallel requests with GETListCategoriesRequest

func (*GETListCategoriesFuture) DecodeResponse

DecodeResponse waits for this future to be done and then decodes the response into a concrete type.

func (*GETListCategoriesFuture) Done

func (f *GETListCategoriesFuture) Done()

Done waits for a response from a typhon future, and is safe to call multiple times in a row.

type GETListCategoriesRequest

type GETListCategoriesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GETListCategoriesRequest) Descriptor

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

func (GETListCategoriesRequest) FullPath

func (body GETListCategoriesRequest) FullPath() string

FullPath is the full routable URL to this service.

func (GETListCategoriesRequest) Host

func (body GETListCategoriesRequest) Host() string

Host is the short-form service name, e.g. s-brand.

func (GETListCategoriesRequest) Method

func (body GETListCategoriesRequest) 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 (GETListCategoriesRequest) Path

func (body GETListCategoriesRequest) Path() string

Path is the HTTP path to this endpoint

func (*GETListCategoriesRequest) ProtoMessage

func (*GETListCategoriesRequest) ProtoMessage()

func (GETListCategoriesRequest) Request

Request returns a typhon request for this type.

func (*GETListCategoriesRequest) Reset

func (m *GETListCategoriesRequest) Reset()

func (GETListCategoriesRequest) Response

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 (GETListCategoriesRequest) Send

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 (GETListCategoriesRequest) SendVia

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 (GETListCategoriesRequest) ServiceName

func (body GETListCategoriesRequest) ServiceName() string

ServiceName is the long-form service name, e.g. service.brand.

func (*GETListCategoriesRequest) String

func (m *GETListCategoriesRequest) String() string

func (*GETListCategoriesRequest) XXX_DiscardUnknown

func (m *GETListCategoriesRequest) XXX_DiscardUnknown()

func (*GETListCategoriesRequest) XXX_Marshal

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

func (*GETListCategoriesRequest) XXX_Merge

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

func (*GETListCategoriesRequest) XXX_Size

func (m *GETListCategoriesRequest) XXX_Size() int

func (*GETListCategoriesRequest) XXX_Unmarshal

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

type GETListCategoriesResponse

type GETListCategoriesResponse struct {
	Categories           []*Category `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GETListCategoriesResponse) Descriptor

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

func (*GETListCategoriesResponse) GetCategories

func (m *GETListCategoriesResponse) GetCategories() []*Category

func (*GETListCategoriesResponse) ProtoMessage

func (*GETListCategoriesResponse) ProtoMessage()

func (*GETListCategoriesResponse) Reset

func (m *GETListCategoriesResponse) Reset()

func (*GETListCategoriesResponse) String

func (m *GETListCategoriesResponse) String() string

func (*GETListCategoriesResponse) XXX_DiscardUnknown

func (m *GETListCategoriesResponse) XXX_DiscardUnknown()

func (*GETListCategoriesResponse) XXX_Marshal

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

func (*GETListCategoriesResponse) XXX_Merge

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

func (*GETListCategoriesResponse) XXX_Size

func (m *GETListCategoriesResponse) XXX_Size() int

func (*GETListCategoriesResponse) XXX_Unmarshal

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

type GETReadCategoryFuture

type GETReadCategoryFuture struct {
	Future   *typhon.ResponseFuture
	Response *typhon.Response
}

GETReadCategoryFuture is an intermediate future used for parallel requests with GETReadCategoryRequest

func (*GETReadCategoryFuture) DecodeResponse

func (f *GETReadCategoryFuture) DecodeResponse() (*GETReadCategoryResponse, error)

DecodeResponse waits for this future to be done and then decodes the response into a concrete type.

func (*GETReadCategoryFuture) Done

func (f *GETReadCategoryFuture) Done()

Done waits for a response from a typhon future, and is safe to call multiple times in a row.

type GETReadCategoryRequest

type GETReadCategoryRequest 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 (*GETReadCategoryRequest) Descriptor

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

func (GETReadCategoryRequest) FullPath

func (body GETReadCategoryRequest) FullPath() string

FullPath is the full routable URL to this service.

func (*GETReadCategoryRequest) GetId

func (m *GETReadCategoryRequest) GetId() string

func (*GETReadCategoryRequest) GetSlug

func (m *GETReadCategoryRequest) GetSlug() string

func (GETReadCategoryRequest) Host

func (body GETReadCategoryRequest) Host() string

Host is the short-form service name, e.g. s-brand.

func (GETReadCategoryRequest) Method

func (body GETReadCategoryRequest) 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 (GETReadCategoryRequest) Path

func (body GETReadCategoryRequest) Path() string

Path is the HTTP path to this endpoint

func (*GETReadCategoryRequest) ProtoMessage

func (*GETReadCategoryRequest) ProtoMessage()

func (GETReadCategoryRequest) Request

Request returns a typhon request for this type.

func (*GETReadCategoryRequest) Reset

func (m *GETReadCategoryRequest) Reset()

func (GETReadCategoryRequest) Response

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 (GETReadCategoryRequest) Send

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 (GETReadCategoryRequest) SendVia

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 (GETReadCategoryRequest) ServiceName

func (body GETReadCategoryRequest) ServiceName() string

ServiceName is the long-form service name, e.g. service.brand.

func (*GETReadCategoryRequest) String

func (m *GETReadCategoryRequest) String() string

func (*GETReadCategoryRequest) XXX_DiscardUnknown

func (m *GETReadCategoryRequest) XXX_DiscardUnknown()

func (*GETReadCategoryRequest) XXX_Marshal

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

func (*GETReadCategoryRequest) XXX_Merge

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

func (*GETReadCategoryRequest) XXX_Size

func (m *GETReadCategoryRequest) XXX_Size() int

func (*GETReadCategoryRequest) XXX_Unmarshal

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

type GETReadCategoryResponse

type GETReadCategoryResponse struct {
	Category             *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*GETReadCategoryResponse) Descriptor

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

func (*GETReadCategoryResponse) GetCategory

func (m *GETReadCategoryResponse) GetCategory() *Category

func (*GETReadCategoryResponse) ProtoMessage

func (*GETReadCategoryResponse) ProtoMessage()

func (*GETReadCategoryResponse) Reset

func (m *GETReadCategoryResponse) Reset()

func (*GETReadCategoryResponse) String

func (m *GETReadCategoryResponse) String() string

func (*GETReadCategoryResponse) XXX_DiscardUnknown

func (m *GETReadCategoryResponse) XXX_DiscardUnknown()

func (*GETReadCategoryResponse) XXX_Marshal

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

func (*GETReadCategoryResponse) XXX_Merge

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

func (*GETReadCategoryResponse) XXX_Size

func (m *GETReadCategoryResponse) XXX_Size() int

func (*GETReadCategoryResponse) XXX_Unmarshal

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

type POSTCreateCategoryFuture

type POSTCreateCategoryFuture struct {
	Future   *typhon.ResponseFuture
	Response *typhon.Response
}

POSTCreateCategoryFuture is an intermediate future used for parallel requests with POSTCreateCategoryRequest

func (*POSTCreateCategoryFuture) DecodeResponse

DecodeResponse waits for this future to be done and then decodes the response into a concrete type.

func (*POSTCreateCategoryFuture) Done

func (f *POSTCreateCategoryFuture) Done()

Done waits for a response from a typhon future, and is safe to call multiple times in a row.

type POSTCreateCategoryRequest

type POSTCreateCategoryRequest 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 (*POSTCreateCategoryRequest) Descriptor

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

func (POSTCreateCategoryRequest) FullPath

func (body POSTCreateCategoryRequest) FullPath() string

FullPath is the full routable URL to this service.

func (*POSTCreateCategoryRequest) GetId

func (m *POSTCreateCategoryRequest) GetId() string

func (*POSTCreateCategoryRequest) GetName

func (m *POSTCreateCategoryRequest) GetName() string

func (*POSTCreateCategoryRequest) GetSlug

func (m *POSTCreateCategoryRequest) GetSlug() string

func (POSTCreateCategoryRequest) Host

func (body POSTCreateCategoryRequest) Host() string

Host is the short-form service name, e.g. s-brand.

func (POSTCreateCategoryRequest) Method

func (body POSTCreateCategoryRequest) 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 (POSTCreateCategoryRequest) Path

func (body POSTCreateCategoryRequest) Path() string

Path is the HTTP path to this endpoint

func (*POSTCreateCategoryRequest) ProtoMessage

func (*POSTCreateCategoryRequest) ProtoMessage()

func (POSTCreateCategoryRequest) Request

Request returns a typhon request for this type.

func (*POSTCreateCategoryRequest) Reset

func (m *POSTCreateCategoryRequest) Reset()

func (POSTCreateCategoryRequest) Response

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 (POSTCreateCategoryRequest) Send

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 (POSTCreateCategoryRequest) SendVia

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 (POSTCreateCategoryRequest) ServiceName

func (body POSTCreateCategoryRequest) ServiceName() string

ServiceName is the long-form service name, e.g. service.brand.

func (*POSTCreateCategoryRequest) String

func (m *POSTCreateCategoryRequest) String() string

func (*POSTCreateCategoryRequest) XXX_DiscardUnknown

func (m *POSTCreateCategoryRequest) XXX_DiscardUnknown()

func (*POSTCreateCategoryRequest) XXX_Marshal

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

func (*POSTCreateCategoryRequest) XXX_Merge

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

func (*POSTCreateCategoryRequest) XXX_Size

func (m *POSTCreateCategoryRequest) XXX_Size() int

func (*POSTCreateCategoryRequest) XXX_Unmarshal

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

type POSTCreateCategoryResponse

type POSTCreateCategoryResponse struct {
	Category             *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*POSTCreateCategoryResponse) Descriptor

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

func (*POSTCreateCategoryResponse) GetCategory

func (m *POSTCreateCategoryResponse) GetCategory() *Category

func (*POSTCreateCategoryResponse) ProtoMessage

func (*POSTCreateCategoryResponse) ProtoMessage()

func (*POSTCreateCategoryResponse) Reset

func (m *POSTCreateCategoryResponse) Reset()

func (*POSTCreateCategoryResponse) String

func (m *POSTCreateCategoryResponse) String() string

func (*POSTCreateCategoryResponse) XXX_DiscardUnknown

func (m *POSTCreateCategoryResponse) XXX_DiscardUnknown()

func (*POSTCreateCategoryResponse) XXX_Marshal

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

func (*POSTCreateCategoryResponse) XXX_Merge

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

func (*POSTCreateCategoryResponse) XXX_Size

func (m *POSTCreateCategoryResponse) XXX_Size() int

func (*POSTCreateCategoryResponse) XXX_Unmarshal

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

type PUTUpdateCategoryFuture

type PUTUpdateCategoryFuture struct {
	Future   *typhon.ResponseFuture
	Response *typhon.Response
}

PUTUpdateCategoryFuture is an intermediate future used for parallel requests with PUTUpdateCategoryRequest

func (*PUTUpdateCategoryFuture) DecodeResponse

DecodeResponse waits for this future to be done and then decodes the response into a concrete type.

func (*PUTUpdateCategoryFuture) Done

func (f *PUTUpdateCategoryFuture) Done()

Done waits for a response from a typhon future, and is safe to call multiple times in a row.

type PUTUpdateCategoryRequest

type PUTUpdateCategoryRequest 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 (*PUTUpdateCategoryRequest) Descriptor

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

func (PUTUpdateCategoryRequest) FullPath

func (body PUTUpdateCategoryRequest) FullPath() string

FullPath is the full routable URL to this service.

func (*PUTUpdateCategoryRequest) GetId

func (m *PUTUpdateCategoryRequest) GetId() string

func (*PUTUpdateCategoryRequest) GetName

func (m *PUTUpdateCategoryRequest) GetName() string

func (*PUTUpdateCategoryRequest) GetSlug

func (m *PUTUpdateCategoryRequest) GetSlug() string

func (PUTUpdateCategoryRequest) Host

func (body PUTUpdateCategoryRequest) Host() string

Host is the short-form service name, e.g. s-brand.

func (PUTUpdateCategoryRequest) Method

func (body PUTUpdateCategoryRequest) 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 (PUTUpdateCategoryRequest) Path

func (body PUTUpdateCategoryRequest) Path() string

Path is the HTTP path to this endpoint

func (*PUTUpdateCategoryRequest) ProtoMessage

func (*PUTUpdateCategoryRequest) ProtoMessage()

func (PUTUpdateCategoryRequest) Request

Request returns a typhon request for this type.

func (*PUTUpdateCategoryRequest) Reset

func (m *PUTUpdateCategoryRequest) Reset()

func (PUTUpdateCategoryRequest) Response

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 (PUTUpdateCategoryRequest) Send

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 (PUTUpdateCategoryRequest) SendVia

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 (PUTUpdateCategoryRequest) ServiceName

func (body PUTUpdateCategoryRequest) ServiceName() string

ServiceName is the long-form service name, e.g. service.brand.

func (*PUTUpdateCategoryRequest) String

func (m *PUTUpdateCategoryRequest) String() string

func (*PUTUpdateCategoryRequest) XXX_DiscardUnknown

func (m *PUTUpdateCategoryRequest) XXX_DiscardUnknown()

func (*PUTUpdateCategoryRequest) XXX_Marshal

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

func (*PUTUpdateCategoryRequest) XXX_Merge

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

func (*PUTUpdateCategoryRequest) XXX_Size

func (m *PUTUpdateCategoryRequest) XXX_Size() int

func (*PUTUpdateCategoryRequest) XXX_Unmarshal

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

type PUTUpdateCategoryResponse

type PUTUpdateCategoryResponse struct {
	Category             *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PUTUpdateCategoryResponse) Descriptor

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

func (*PUTUpdateCategoryResponse) GetCategory

func (m *PUTUpdateCategoryResponse) GetCategory() *Category

func (*PUTUpdateCategoryResponse) ProtoMessage

func (*PUTUpdateCategoryResponse) ProtoMessage()

func (*PUTUpdateCategoryResponse) Reset

func (m *PUTUpdateCategoryResponse) Reset()

func (*PUTUpdateCategoryResponse) String

func (m *PUTUpdateCategoryResponse) String() string

func (*PUTUpdateCategoryResponse) XXX_DiscardUnknown

func (m *PUTUpdateCategoryResponse) XXX_DiscardUnknown()

func (*PUTUpdateCategoryResponse) XXX_Marshal

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

func (*PUTUpdateCategoryResponse) XXX_Merge

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

func (*PUTUpdateCategoryResponse) XXX_Size

func (m *PUTUpdateCategoryResponse) XXX_Size() int

func (*PUTUpdateCategoryResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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