Documentation ¶
Index ¶
- type DELETERemoveTagFuture
- type DELETERemoveTagRequest
- func (*DELETERemoveTagRequest) Descriptor() ([]byte, []int)
- func (body DELETERemoveTagRequest) FullPath() string
- func (m *DELETERemoveTagRequest) GetId() string
- func (body DELETERemoveTagRequest) Host() string
- func (body DELETERemoveTagRequest) Method() string
- func (body DELETERemoveTagRequest) Path() string
- func (*DELETERemoveTagRequest) ProtoMessage()
- func (body DELETERemoveTagRequest) Request(ctx context.Context) typhon.Request
- func (m *DELETERemoveTagRequest) Reset()
- func (body DELETERemoveTagRequest) Response(ctx context.Context) (*DELETERemoveTagResponse, error)
- func (body DELETERemoveTagRequest) Send(ctx context.Context) *DELETERemoveTagFuture
- func (body DELETERemoveTagRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveTagFuture
- func (body DELETERemoveTagRequest) ServiceName() string
- func (m *DELETERemoveTagRequest) String() string
- func (m *DELETERemoveTagRequest) XXX_DiscardUnknown()
- func (m *DELETERemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveTagRequest) XXX_Merge(src proto.Message)
- func (m *DELETERemoveTagRequest) XXX_Size() int
- func (m *DELETERemoveTagRequest) XXX_Unmarshal(b []byte) error
- type DELETERemoveTagResponse
- func (*DELETERemoveTagResponse) Descriptor() ([]byte, []int)
- func (*DELETERemoveTagResponse) ProtoMessage()
- func (m *DELETERemoveTagResponse) Reset()
- func (m *DELETERemoveTagResponse) String() string
- func (m *DELETERemoveTagResponse) XXX_DiscardUnknown()
- func (m *DELETERemoveTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DELETERemoveTagResponse) XXX_Merge(src proto.Message)
- func (m *DELETERemoveTagResponse) XXX_Size() int
- func (m *DELETERemoveTagResponse) XXX_Unmarshal(b []byte) error
- type GETListTagsFuture
- type GETListTagsRequest
- func (*GETListTagsRequest) Descriptor() ([]byte, []int)
- func (body GETListTagsRequest) FullPath() string
- func (body GETListTagsRequest) Host() string
- func (body GETListTagsRequest) Method() string
- func (body GETListTagsRequest) Path() string
- func (*GETListTagsRequest) ProtoMessage()
- func (body GETListTagsRequest) Request(ctx context.Context) typhon.Request
- func (m *GETListTagsRequest) Reset()
- func (body GETListTagsRequest) Response(ctx context.Context) (*GETListTagsResponse, error)
- func (body GETListTagsRequest) Send(ctx context.Context) *GETListTagsFuture
- func (body GETListTagsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListTagsFuture
- func (body GETListTagsRequest) ServiceName() string
- func (m *GETListTagsRequest) String() string
- func (m *GETListTagsRequest) XXX_DiscardUnknown()
- func (m *GETListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListTagsRequest) XXX_Merge(src proto.Message)
- func (m *GETListTagsRequest) XXX_Size() int
- func (m *GETListTagsRequest) XXX_Unmarshal(b []byte) error
- type GETListTagsResponse
- func (*GETListTagsResponse) Descriptor() ([]byte, []int)
- func (m *GETListTagsResponse) GetTags() []*Tag
- func (*GETListTagsResponse) ProtoMessage()
- func (m *GETListTagsResponse) Reset()
- func (m *GETListTagsResponse) String() string
- func (m *GETListTagsResponse) XXX_DiscardUnknown()
- func (m *GETListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETListTagsResponse) XXX_Merge(src proto.Message)
- func (m *GETListTagsResponse) XXX_Size() int
- func (m *GETListTagsResponse) XXX_Unmarshal(b []byte) error
- type GETReadTagFuture
- type GETReadTagRequest
- func (*GETReadTagRequest) Descriptor() ([]byte, []int)
- func (body GETReadTagRequest) FullPath() string
- func (m *GETReadTagRequest) GetId() string
- func (m *GETReadTagRequest) GetSlug() string
- func (body GETReadTagRequest) Host() string
- func (body GETReadTagRequest) Method() string
- func (body GETReadTagRequest) Path() string
- func (*GETReadTagRequest) ProtoMessage()
- func (body GETReadTagRequest) Request(ctx context.Context) typhon.Request
- func (m *GETReadTagRequest) Reset()
- func (body GETReadTagRequest) Response(ctx context.Context) (*GETReadTagResponse, error)
- func (body GETReadTagRequest) Send(ctx context.Context) *GETReadTagFuture
- func (body GETReadTagRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadTagFuture
- func (body GETReadTagRequest) ServiceName() string
- func (m *GETReadTagRequest) String() string
- func (m *GETReadTagRequest) XXX_DiscardUnknown()
- func (m *GETReadTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadTagRequest) XXX_Merge(src proto.Message)
- func (m *GETReadTagRequest) XXX_Size() int
- func (m *GETReadTagRequest) XXX_Unmarshal(b []byte) error
- type GETReadTagResponse
- func (*GETReadTagResponse) Descriptor() ([]byte, []int)
- func (m *GETReadTagResponse) GetTag() *Tag
- func (*GETReadTagResponse) ProtoMessage()
- func (m *GETReadTagResponse) Reset()
- func (m *GETReadTagResponse) String() string
- func (m *GETReadTagResponse) XXX_DiscardUnknown()
- func (m *GETReadTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GETReadTagResponse) XXX_Merge(src proto.Message)
- func (m *GETReadTagResponse) XXX_Size() int
- func (m *GETReadTagResponse) XXX_Unmarshal(b []byte) error
- type POSTCreateTagFuture
- type POSTCreateTagRequest
- func (*POSTCreateTagRequest) Descriptor() ([]byte, []int)
- func (body POSTCreateTagRequest) FullPath() string
- func (m *POSTCreateTagRequest) GetId() string
- func (m *POSTCreateTagRequest) GetName() string
- func (m *POSTCreateTagRequest) GetSlug() string
- func (body POSTCreateTagRequest) Host() string
- func (body POSTCreateTagRequest) Method() string
- func (body POSTCreateTagRequest) Path() string
- func (*POSTCreateTagRequest) ProtoMessage()
- func (body POSTCreateTagRequest) Request(ctx context.Context) typhon.Request
- func (m *POSTCreateTagRequest) Reset()
- func (body POSTCreateTagRequest) Response(ctx context.Context) (*POSTCreateTagResponse, error)
- func (body POSTCreateTagRequest) Send(ctx context.Context) *POSTCreateTagFuture
- func (body POSTCreateTagRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateTagFuture
- func (body POSTCreateTagRequest) ServiceName() string
- func (m *POSTCreateTagRequest) String() string
- func (m *POSTCreateTagRequest) XXX_DiscardUnknown()
- func (m *POSTCreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateTagRequest) XXX_Merge(src proto.Message)
- func (m *POSTCreateTagRequest) XXX_Size() int
- func (m *POSTCreateTagRequest) XXX_Unmarshal(b []byte) error
- type POSTCreateTagResponse
- func (*POSTCreateTagResponse) Descriptor() ([]byte, []int)
- func (m *POSTCreateTagResponse) GetTag() *Tag
- func (*POSTCreateTagResponse) ProtoMessage()
- func (m *POSTCreateTagResponse) Reset()
- func (m *POSTCreateTagResponse) String() string
- func (m *POSTCreateTagResponse) XXX_DiscardUnknown()
- func (m *POSTCreateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *POSTCreateTagResponse) XXX_Merge(src proto.Message)
- func (m *POSTCreateTagResponse) XXX_Size() int
- func (m *POSTCreateTagResponse) XXX_Unmarshal(b []byte) error
- type PUTUpdateTagFuture
- type PUTUpdateTagRequest
- func (*PUTUpdateTagRequest) Descriptor() ([]byte, []int)
- func (body PUTUpdateTagRequest) FullPath() string
- func (m *PUTUpdateTagRequest) GetId() string
- func (m *PUTUpdateTagRequest) GetName() string
- func (m *PUTUpdateTagRequest) GetSlug() string
- func (body PUTUpdateTagRequest) Host() string
- func (body PUTUpdateTagRequest) Method() string
- func (body PUTUpdateTagRequest) Path() string
- func (*PUTUpdateTagRequest) ProtoMessage()
- func (body PUTUpdateTagRequest) Request(ctx context.Context) typhon.Request
- func (m *PUTUpdateTagRequest) Reset()
- func (body PUTUpdateTagRequest) Response(ctx context.Context) (*PUTUpdateTagResponse, error)
- func (body PUTUpdateTagRequest) Send(ctx context.Context) *PUTUpdateTagFuture
- func (body PUTUpdateTagRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateTagFuture
- func (body PUTUpdateTagRequest) ServiceName() string
- func (m *PUTUpdateTagRequest) String() string
- func (m *PUTUpdateTagRequest) XXX_DiscardUnknown()
- func (m *PUTUpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateTagRequest) XXX_Merge(src proto.Message)
- func (m *PUTUpdateTagRequest) XXX_Size() int
- func (m *PUTUpdateTagRequest) XXX_Unmarshal(b []byte) error
- type PUTUpdateTagResponse
- func (*PUTUpdateTagResponse) Descriptor() ([]byte, []int)
- func (m *PUTUpdateTagResponse) GetTag() *Tag
- func (*PUTUpdateTagResponse) ProtoMessage()
- func (m *PUTUpdateTagResponse) Reset()
- func (m *PUTUpdateTagResponse) String() string
- func (m *PUTUpdateTagResponse) XXX_DiscardUnknown()
- func (m *PUTUpdateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PUTUpdateTagResponse) XXX_Merge(src proto.Message)
- func (m *PUTUpdateTagResponse) XXX_Size() int
- func (m *PUTUpdateTagResponse) XXX_Unmarshal(b []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetCreatedAt() string
- func (m *Tag) GetId() string
- func (m *Tag) GetName() string
- func (m *Tag) GetSlug() string
- func (m *Tag) GetUpdatedAt() string
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) String() string
- func (m *Tag) XXX_DiscardUnknown()
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tag) XXX_Merge(src proto.Message)
- func (m *Tag) XXX_Size() int
- func (m *Tag) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DELETERemoveTagFuture ¶
type DELETERemoveTagFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
DELETERemoveTagFuture is an intermediate future used for parallel requests with DELETERemoveTagRequest
func (*DELETERemoveTagFuture) DecodeResponse ¶
func (f *DELETERemoveTagFuture) DecodeResponse() (*DELETERemoveTagResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*DELETERemoveTagFuture) Done ¶
func (f *DELETERemoveTagFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type DELETERemoveTagRequest ¶
type DELETERemoveTagRequest 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 (*DELETERemoveTagRequest) Descriptor ¶
func (*DELETERemoveTagRequest) Descriptor() ([]byte, []int)
func (DELETERemoveTagRequest) FullPath ¶
func (body DELETERemoveTagRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*DELETERemoveTagRequest) GetId ¶
func (m *DELETERemoveTagRequest) GetId() string
func (DELETERemoveTagRequest) Host ¶
func (body DELETERemoveTagRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (DELETERemoveTagRequest) Method ¶
func (body DELETERemoveTagRequest) 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 (DELETERemoveTagRequest) Path ¶
func (body DELETERemoveTagRequest) Path() string
Path is the HTTP path to this endpoint
func (*DELETERemoveTagRequest) ProtoMessage ¶
func (*DELETERemoveTagRequest) ProtoMessage()
func (DELETERemoveTagRequest) Request ¶
func (body DELETERemoveTagRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*DELETERemoveTagRequest) Reset ¶
func (m *DELETERemoveTagRequest) Reset()
func (DELETERemoveTagRequest) Response ¶
func (body DELETERemoveTagRequest) Response(ctx context.Context) (*DELETERemoveTagResponse, 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 (DELETERemoveTagRequest) Send ¶
func (body DELETERemoveTagRequest) Send(ctx context.Context) *DELETERemoveTagFuture
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 (DELETERemoveTagRequest) SendVia ¶
func (body DELETERemoveTagRequest) SendVia(ctx context.Context, svc typhon.Service) *DELETERemoveTagFuture
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 (DELETERemoveTagRequest) ServiceName ¶
func (body DELETERemoveTagRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*DELETERemoveTagRequest) String ¶
func (m *DELETERemoveTagRequest) String() string
func (*DELETERemoveTagRequest) XXX_DiscardUnknown ¶
func (m *DELETERemoveTagRequest) XXX_DiscardUnknown()
func (*DELETERemoveTagRequest) XXX_Marshal ¶
func (m *DELETERemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveTagRequest) XXX_Merge ¶
func (m *DELETERemoveTagRequest) XXX_Merge(src proto.Message)
func (*DELETERemoveTagRequest) XXX_Size ¶
func (m *DELETERemoveTagRequest) XXX_Size() int
func (*DELETERemoveTagRequest) XXX_Unmarshal ¶
func (m *DELETERemoveTagRequest) XXX_Unmarshal(b []byte) error
type DELETERemoveTagResponse ¶
type DELETERemoveTagResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DELETERemoveTagResponse) Descriptor ¶
func (*DELETERemoveTagResponse) Descriptor() ([]byte, []int)
func (*DELETERemoveTagResponse) ProtoMessage ¶
func (*DELETERemoveTagResponse) ProtoMessage()
func (*DELETERemoveTagResponse) Reset ¶
func (m *DELETERemoveTagResponse) Reset()
func (*DELETERemoveTagResponse) String ¶
func (m *DELETERemoveTagResponse) String() string
func (*DELETERemoveTagResponse) XXX_DiscardUnknown ¶
func (m *DELETERemoveTagResponse) XXX_DiscardUnknown()
func (*DELETERemoveTagResponse) XXX_Marshal ¶
func (m *DELETERemoveTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DELETERemoveTagResponse) XXX_Merge ¶
func (m *DELETERemoveTagResponse) XXX_Merge(src proto.Message)
func (*DELETERemoveTagResponse) XXX_Size ¶
func (m *DELETERemoveTagResponse) XXX_Size() int
func (*DELETERemoveTagResponse) XXX_Unmarshal ¶
func (m *DELETERemoveTagResponse) XXX_Unmarshal(b []byte) error
type GETListTagsFuture ¶
type GETListTagsFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETListTagsFuture is an intermediate future used for parallel requests with GETListTagsRequest
func (*GETListTagsFuture) DecodeResponse ¶
func (f *GETListTagsFuture) DecodeResponse() (*GETListTagsResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETListTagsFuture) Done ¶
func (f *GETListTagsFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETListTagsRequest ¶
type GETListTagsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListTagsRequest) Descriptor ¶
func (*GETListTagsRequest) Descriptor() ([]byte, []int)
func (GETListTagsRequest) FullPath ¶
func (body GETListTagsRequest) FullPath() string
FullPath is the full routable URL to this service.
func (GETListTagsRequest) Host ¶
func (body GETListTagsRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETListTagsRequest) Method ¶
func (body GETListTagsRequest) 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 (GETListTagsRequest) Path ¶
func (body GETListTagsRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETListTagsRequest) ProtoMessage ¶
func (*GETListTagsRequest) ProtoMessage()
func (GETListTagsRequest) Request ¶
func (body GETListTagsRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETListTagsRequest) Reset ¶
func (m *GETListTagsRequest) Reset()
func (GETListTagsRequest) Response ¶
func (body GETListTagsRequest) Response(ctx context.Context) (*GETListTagsResponse, 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 (GETListTagsRequest) Send ¶
func (body GETListTagsRequest) Send(ctx context.Context) *GETListTagsFuture
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 (GETListTagsRequest) SendVia ¶
func (body GETListTagsRequest) SendVia(ctx context.Context, svc typhon.Service) *GETListTagsFuture
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 (GETListTagsRequest) ServiceName ¶
func (body GETListTagsRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETListTagsRequest) String ¶
func (m *GETListTagsRequest) String() string
func (*GETListTagsRequest) XXX_DiscardUnknown ¶
func (m *GETListTagsRequest) XXX_DiscardUnknown()
func (*GETListTagsRequest) XXX_Marshal ¶
func (m *GETListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListTagsRequest) XXX_Merge ¶
func (m *GETListTagsRequest) XXX_Merge(src proto.Message)
func (*GETListTagsRequest) XXX_Size ¶
func (m *GETListTagsRequest) XXX_Size() int
func (*GETListTagsRequest) XXX_Unmarshal ¶
func (m *GETListTagsRequest) XXX_Unmarshal(b []byte) error
type GETListTagsResponse ¶
type GETListTagsResponse struct { Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETListTagsResponse) Descriptor ¶
func (*GETListTagsResponse) Descriptor() ([]byte, []int)
func (*GETListTagsResponse) GetTags ¶
func (m *GETListTagsResponse) GetTags() []*Tag
func (*GETListTagsResponse) ProtoMessage ¶
func (*GETListTagsResponse) ProtoMessage()
func (*GETListTagsResponse) Reset ¶
func (m *GETListTagsResponse) Reset()
func (*GETListTagsResponse) String ¶
func (m *GETListTagsResponse) String() string
func (*GETListTagsResponse) XXX_DiscardUnknown ¶
func (m *GETListTagsResponse) XXX_DiscardUnknown()
func (*GETListTagsResponse) XXX_Marshal ¶
func (m *GETListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETListTagsResponse) XXX_Merge ¶
func (m *GETListTagsResponse) XXX_Merge(src proto.Message)
func (*GETListTagsResponse) XXX_Size ¶
func (m *GETListTagsResponse) XXX_Size() int
func (*GETListTagsResponse) XXX_Unmarshal ¶
func (m *GETListTagsResponse) XXX_Unmarshal(b []byte) error
type GETReadTagFuture ¶
type GETReadTagFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
GETReadTagFuture is an intermediate future used for parallel requests with GETReadTagRequest
func (*GETReadTagFuture) DecodeResponse ¶
func (f *GETReadTagFuture) DecodeResponse() (*GETReadTagResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*GETReadTagFuture) Done ¶
func (f *GETReadTagFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type GETReadTagRequest ¶
type GETReadTagRequest 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 (*GETReadTagRequest) Descriptor ¶
func (*GETReadTagRequest) Descriptor() ([]byte, []int)
func (GETReadTagRequest) FullPath ¶
func (body GETReadTagRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*GETReadTagRequest) GetId ¶
func (m *GETReadTagRequest) GetId() string
func (*GETReadTagRequest) GetSlug ¶
func (m *GETReadTagRequest) GetSlug() string
func (GETReadTagRequest) Host ¶
func (body GETReadTagRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (GETReadTagRequest) Method ¶
func (body GETReadTagRequest) 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 (GETReadTagRequest) Path ¶
func (body GETReadTagRequest) Path() string
Path is the HTTP path to this endpoint
func (*GETReadTagRequest) ProtoMessage ¶
func (*GETReadTagRequest) ProtoMessage()
func (GETReadTagRequest) Request ¶
func (body GETReadTagRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*GETReadTagRequest) Reset ¶
func (m *GETReadTagRequest) Reset()
func (GETReadTagRequest) Response ¶
func (body GETReadTagRequest) Response(ctx context.Context) (*GETReadTagResponse, 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 (GETReadTagRequest) Send ¶
func (body GETReadTagRequest) Send(ctx context.Context) *GETReadTagFuture
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 (GETReadTagRequest) SendVia ¶
func (body GETReadTagRequest) SendVia(ctx context.Context, svc typhon.Service) *GETReadTagFuture
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 (GETReadTagRequest) ServiceName ¶
func (body GETReadTagRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*GETReadTagRequest) String ¶
func (m *GETReadTagRequest) String() string
func (*GETReadTagRequest) XXX_DiscardUnknown ¶
func (m *GETReadTagRequest) XXX_DiscardUnknown()
func (*GETReadTagRequest) XXX_Marshal ¶
func (m *GETReadTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadTagRequest) XXX_Merge ¶
func (m *GETReadTagRequest) XXX_Merge(src proto.Message)
func (*GETReadTagRequest) XXX_Size ¶
func (m *GETReadTagRequest) XXX_Size() int
func (*GETReadTagRequest) XXX_Unmarshal ¶
func (m *GETReadTagRequest) XXX_Unmarshal(b []byte) error
type GETReadTagResponse ¶
type GETReadTagResponse struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GETReadTagResponse) Descriptor ¶
func (*GETReadTagResponse) Descriptor() ([]byte, []int)
func (*GETReadTagResponse) GetTag ¶
func (m *GETReadTagResponse) GetTag() *Tag
func (*GETReadTagResponse) ProtoMessage ¶
func (*GETReadTagResponse) ProtoMessage()
func (*GETReadTagResponse) Reset ¶
func (m *GETReadTagResponse) Reset()
func (*GETReadTagResponse) String ¶
func (m *GETReadTagResponse) String() string
func (*GETReadTagResponse) XXX_DiscardUnknown ¶
func (m *GETReadTagResponse) XXX_DiscardUnknown()
func (*GETReadTagResponse) XXX_Marshal ¶
func (m *GETReadTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GETReadTagResponse) XXX_Merge ¶
func (m *GETReadTagResponse) XXX_Merge(src proto.Message)
func (*GETReadTagResponse) XXX_Size ¶
func (m *GETReadTagResponse) XXX_Size() int
func (*GETReadTagResponse) XXX_Unmarshal ¶
func (m *GETReadTagResponse) XXX_Unmarshal(b []byte) error
type POSTCreateTagFuture ¶
type POSTCreateTagFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
POSTCreateTagFuture is an intermediate future used for parallel requests with POSTCreateTagRequest
func (*POSTCreateTagFuture) DecodeResponse ¶
func (f *POSTCreateTagFuture) DecodeResponse() (*POSTCreateTagResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*POSTCreateTagFuture) Done ¶
func (f *POSTCreateTagFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type POSTCreateTagRequest ¶
type POSTCreateTagRequest 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 (*POSTCreateTagRequest) Descriptor ¶
func (*POSTCreateTagRequest) Descriptor() ([]byte, []int)
func (POSTCreateTagRequest) FullPath ¶
func (body POSTCreateTagRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*POSTCreateTagRequest) GetId ¶
func (m *POSTCreateTagRequest) GetId() string
func (*POSTCreateTagRequest) GetName ¶
func (m *POSTCreateTagRequest) GetName() string
func (*POSTCreateTagRequest) GetSlug ¶
func (m *POSTCreateTagRequest) GetSlug() string
func (POSTCreateTagRequest) Host ¶
func (body POSTCreateTagRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (POSTCreateTagRequest) Method ¶
func (body POSTCreateTagRequest) 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 (POSTCreateTagRequest) Path ¶
func (body POSTCreateTagRequest) Path() string
Path is the HTTP path to this endpoint
func (*POSTCreateTagRequest) ProtoMessage ¶
func (*POSTCreateTagRequest) ProtoMessage()
func (POSTCreateTagRequest) Request ¶
func (body POSTCreateTagRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*POSTCreateTagRequest) Reset ¶
func (m *POSTCreateTagRequest) Reset()
func (POSTCreateTagRequest) Response ¶
func (body POSTCreateTagRequest) Response(ctx context.Context) (*POSTCreateTagResponse, 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 (POSTCreateTagRequest) Send ¶
func (body POSTCreateTagRequest) Send(ctx context.Context) *POSTCreateTagFuture
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 (POSTCreateTagRequest) SendVia ¶
func (body POSTCreateTagRequest) SendVia(ctx context.Context, svc typhon.Service) *POSTCreateTagFuture
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 (POSTCreateTagRequest) ServiceName ¶
func (body POSTCreateTagRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*POSTCreateTagRequest) String ¶
func (m *POSTCreateTagRequest) String() string
func (*POSTCreateTagRequest) XXX_DiscardUnknown ¶
func (m *POSTCreateTagRequest) XXX_DiscardUnknown()
func (*POSTCreateTagRequest) XXX_Marshal ¶
func (m *POSTCreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateTagRequest) XXX_Merge ¶
func (m *POSTCreateTagRequest) XXX_Merge(src proto.Message)
func (*POSTCreateTagRequest) XXX_Size ¶
func (m *POSTCreateTagRequest) XXX_Size() int
func (*POSTCreateTagRequest) XXX_Unmarshal ¶
func (m *POSTCreateTagRequest) XXX_Unmarshal(b []byte) error
type POSTCreateTagResponse ¶
type POSTCreateTagResponse struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*POSTCreateTagResponse) Descriptor ¶
func (*POSTCreateTagResponse) Descriptor() ([]byte, []int)
func (*POSTCreateTagResponse) GetTag ¶
func (m *POSTCreateTagResponse) GetTag() *Tag
func (*POSTCreateTagResponse) ProtoMessage ¶
func (*POSTCreateTagResponse) ProtoMessage()
func (*POSTCreateTagResponse) Reset ¶
func (m *POSTCreateTagResponse) Reset()
func (*POSTCreateTagResponse) String ¶
func (m *POSTCreateTagResponse) String() string
func (*POSTCreateTagResponse) XXX_DiscardUnknown ¶
func (m *POSTCreateTagResponse) XXX_DiscardUnknown()
func (*POSTCreateTagResponse) XXX_Marshal ¶
func (m *POSTCreateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*POSTCreateTagResponse) XXX_Merge ¶
func (m *POSTCreateTagResponse) XXX_Merge(src proto.Message)
func (*POSTCreateTagResponse) XXX_Size ¶
func (m *POSTCreateTagResponse) XXX_Size() int
func (*POSTCreateTagResponse) XXX_Unmarshal ¶
func (m *POSTCreateTagResponse) XXX_Unmarshal(b []byte) error
type PUTUpdateTagFuture ¶
type PUTUpdateTagFuture struct { Future *typhon.ResponseFuture Response *typhon.Response }
PUTUpdateTagFuture is an intermediate future used for parallel requests with PUTUpdateTagRequest
func (*PUTUpdateTagFuture) DecodeResponse ¶
func (f *PUTUpdateTagFuture) DecodeResponse() (*PUTUpdateTagResponse, error)
DecodeResponse waits for this future to be done and then decodes the response into a concrete type.
func (*PUTUpdateTagFuture) Done ¶
func (f *PUTUpdateTagFuture) Done()
Done waits for a response from a typhon future, and is safe to call multiple times in a row.
type PUTUpdateTagRequest ¶
type PUTUpdateTagRequest 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 (*PUTUpdateTagRequest) Descriptor ¶
func (*PUTUpdateTagRequest) Descriptor() ([]byte, []int)
func (PUTUpdateTagRequest) FullPath ¶
func (body PUTUpdateTagRequest) FullPath() string
FullPath is the full routable URL to this service.
func (*PUTUpdateTagRequest) GetId ¶
func (m *PUTUpdateTagRequest) GetId() string
func (*PUTUpdateTagRequest) GetName ¶
func (m *PUTUpdateTagRequest) GetName() string
func (*PUTUpdateTagRequest) GetSlug ¶
func (m *PUTUpdateTagRequest) GetSlug() string
func (PUTUpdateTagRequest) Host ¶
func (body PUTUpdateTagRequest) Host() string
Host is the short-form service name, e.g. s-brand.
func (PUTUpdateTagRequest) Method ¶
func (body PUTUpdateTagRequest) 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 (PUTUpdateTagRequest) Path ¶
func (body PUTUpdateTagRequest) Path() string
Path is the HTTP path to this endpoint
func (*PUTUpdateTagRequest) ProtoMessage ¶
func (*PUTUpdateTagRequest) ProtoMessage()
func (PUTUpdateTagRequest) Request ¶
func (body PUTUpdateTagRequest) Request(ctx context.Context) typhon.Request
Request returns a typhon request for this type.
func (*PUTUpdateTagRequest) Reset ¶
func (m *PUTUpdateTagRequest) Reset()
func (PUTUpdateTagRequest) Response ¶
func (body PUTUpdateTagRequest) Response(ctx context.Context) (*PUTUpdateTagResponse, 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 (PUTUpdateTagRequest) Send ¶
func (body PUTUpdateTagRequest) Send(ctx context.Context) *PUTUpdateTagFuture
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 (PUTUpdateTagRequest) SendVia ¶
func (body PUTUpdateTagRequest) SendVia(ctx context.Context, svc typhon.Service) *PUTUpdateTagFuture
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 (PUTUpdateTagRequest) ServiceName ¶
func (body PUTUpdateTagRequest) ServiceName() string
ServiceName is the long-form service name, e.g. service.brand.
func (*PUTUpdateTagRequest) String ¶
func (m *PUTUpdateTagRequest) String() string
func (*PUTUpdateTagRequest) XXX_DiscardUnknown ¶
func (m *PUTUpdateTagRequest) XXX_DiscardUnknown()
func (*PUTUpdateTagRequest) XXX_Marshal ¶
func (m *PUTUpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateTagRequest) XXX_Merge ¶
func (m *PUTUpdateTagRequest) XXX_Merge(src proto.Message)
func (*PUTUpdateTagRequest) XXX_Size ¶
func (m *PUTUpdateTagRequest) XXX_Size() int
func (*PUTUpdateTagRequest) XXX_Unmarshal ¶
func (m *PUTUpdateTagRequest) XXX_Unmarshal(b []byte) error
type PUTUpdateTagResponse ¶
type PUTUpdateTagResponse struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PUTUpdateTagResponse) Descriptor ¶
func (*PUTUpdateTagResponse) Descriptor() ([]byte, []int)
func (*PUTUpdateTagResponse) GetTag ¶
func (m *PUTUpdateTagResponse) GetTag() *Tag
func (*PUTUpdateTagResponse) ProtoMessage ¶
func (*PUTUpdateTagResponse) ProtoMessage()
func (*PUTUpdateTagResponse) Reset ¶
func (m *PUTUpdateTagResponse) Reset()
func (*PUTUpdateTagResponse) String ¶
func (m *PUTUpdateTagResponse) String() string
func (*PUTUpdateTagResponse) XXX_DiscardUnknown ¶
func (m *PUTUpdateTagResponse) XXX_DiscardUnknown()
func (*PUTUpdateTagResponse) XXX_Marshal ¶
func (m *PUTUpdateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PUTUpdateTagResponse) XXX_Merge ¶
func (m *PUTUpdateTagResponse) XXX_Merge(src proto.Message)
func (*PUTUpdateTagResponse) XXX_Size ¶
func (m *PUTUpdateTagResponse) XXX_Size() int
func (*PUTUpdateTagResponse) XXX_Unmarshal ¶
func (m *PUTUpdateTagResponse) XXX_Unmarshal(b []byte) error
type Tag ¶
type Tag 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,4,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 (*Tag) Descriptor ¶
func (*Tag) GetCreatedAt ¶
func (*Tag) GetUpdatedAt ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) XXX_DiscardUnknown ¶
func (m *Tag) XXX_DiscardUnknown()