colorproto

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 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) Descriptor() ([]byte, []int)

func (*Color) GetCreatedAt

func (m *Color) GetCreatedAt() string

func (*Color) GetId

func (m *Color) GetId() string

func (*Color) GetName

func (m *Color) GetName() string

func (*Color) GetSlug

func (m *Color) GetSlug() string

func (*Color) GetUpdatedAt

func (m *Color) GetUpdatedAt() string

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) Reset

func (m *Color) Reset()

func (*Color) String

func (m *Color) String() string

func (*Color) XXX_DiscardUnknown

func (m *Color) XXX_DiscardUnknown()

func (*Color) XXX_Marshal

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

func (*Color) XXX_Merge

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

func (*Color) XXX_Size

func (m *Color) XXX_Size() int

func (*Color) XXX_Unmarshal

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

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

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

Request returns a typhon request for this type.

func (*DELETERemoveColorRequest) Reset

func (m *DELETERemoveColorRequest) Reset()

func (DELETERemoveColorRequest) 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 (DELETERemoveColorRequest) 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 (DELETERemoveColorRequest) 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 (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

Request returns a typhon request for this type.

func (*GETListColorsRequest) Reset

func (m *GETListColorsRequest) Reset()

func (GETListColorsRequest) 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 (GETListColorsRequest) 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 (GETListColorsRequest) 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 (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

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

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

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

Request returns a typhon request for this type.

func (*POSTCreateColorRequest) Reset

func (m *POSTCreateColorRequest) Reset()

func (POSTCreateColorRequest) 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 (POSTCreateColorRequest) 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 (POSTCreateColorRequest) 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 (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

Request returns a typhon request for this type.

func (*PUTUpdateColorRequest) Reset

func (m *PUTUpdateColorRequest) Reset()

func (PUTUpdateColorRequest) 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 (PUTUpdateColorRequest) 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 (PUTUpdateColorRequest) 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 (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

Jump to

Keyboard shortcuts

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