Documentation
¶
Index ¶
- Constants
- Variables
- func WriteError(resp http.ResponseWriter, err error)
- type API
- type CreateI
- type CreateI_Filter
- type CreateI_Object
- func (*CreateI_Object) Descriptor() ([]byte, []int)deprecated
- func (x *CreateI_Object) GetIntern() *CreateI_Object_Intern
- func (x *CreateI_Object) GetPublic() *CreateI_Object_Public
- func (*CreateI_Object) ProtoMessage()
- func (x *CreateI_Object) ProtoReflect() protoreflect.Message
- func (x *CreateI_Object) Reset()
- func (x *CreateI_Object) String() string
- type CreateI_Object_Intern
- type CreateI_Object_Public
- func (*CreateI_Object_Public) Descriptor() ([]byte, []int)deprecated
- func (x *CreateI_Object_Public) GetChain() string
- func (x *CreateI_Object_Public) GetContract() string
- func (x *CreateI_Object_Public) GetExpiry() string
- func (x *CreateI_Object_Public) GetHash() string
- func (x *CreateI_Object_Public) GetKind() string
- func (x *CreateI_Object_Public) GetLabels() string
- func (x *CreateI_Object_Public) GetLifecycle() string
- func (x *CreateI_Object_Public) GetMeta() string
- func (x *CreateI_Object_Public) GetParent() string
- func (x *CreateI_Object_Public) GetText() string
- func (x *CreateI_Object_Public) GetToken() string
- func (*CreateI_Object_Public) ProtoMessage()
- func (x *CreateI_Object_Public) ProtoReflect() protoreflect.Message
- func (x *CreateI_Object_Public) Reset()
- func (x *CreateI_Object_Public) String() string
- type CreateO
- type CreateO_Filter
- type CreateO_Object
- func (*CreateO_Object) Descriptor() ([]byte, []int)deprecated
- func (x *CreateO_Object) GetIntern() *CreateO_Object_Intern
- func (x *CreateO_Object) GetPublic() *CreateO_Object_Public
- func (*CreateO_Object) ProtoMessage()
- func (x *CreateO_Object) ProtoReflect() protoreflect.Message
- func (x *CreateO_Object) Reset()
- func (x *CreateO_Object) String() string
- type CreateO_Object_Intern
- func (*CreateO_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *CreateO_Object_Intern) GetCreated() string
- func (x *CreateO_Object_Intern) GetId() string
- func (*CreateO_Object_Intern) ProtoMessage()
- func (x *CreateO_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *CreateO_Object_Intern) Reset()
- func (x *CreateO_Object_Intern) String() string
- type CreateO_Object_Public
- type DeleteI
- type DeleteI_Filter
- type DeleteI_Object
- func (*DeleteI_Object) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteI_Object) GetIntern() *DeleteI_Object_Intern
- func (x *DeleteI_Object) GetPublic() *DeleteI_Object_Public
- func (*DeleteI_Object) ProtoMessage()
- func (x *DeleteI_Object) ProtoReflect() protoreflect.Message
- func (x *DeleteI_Object) Reset()
- func (x *DeleteI_Object) String() string
- type DeleteI_Object_Intern
- func (*DeleteI_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteI_Object_Intern) GetId() string
- func (*DeleteI_Object_Intern) ProtoMessage()
- func (x *DeleteI_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *DeleteI_Object_Intern) Reset()
- func (x *DeleteI_Object_Intern) String() string
- type DeleteI_Object_Public
- type DeleteO
- type DeleteO_Filter
- type DeleteO_Object
- func (*DeleteO_Object) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteO_Object) GetIntern() *DeleteO_Object_Intern
- func (x *DeleteO_Object) GetPublic() *DeleteO_Object_Public
- func (*DeleteO_Object) ProtoMessage()
- func (x *DeleteO_Object) ProtoReflect() protoreflect.Message
- func (x *DeleteO_Object) Reset()
- func (x *DeleteO_Object) String() string
- type DeleteO_Object_Intern
- func (*DeleteO_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteO_Object_Intern) GetStatus() string
- func (*DeleteO_Object_Intern) ProtoMessage()
- func (x *DeleteO_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *DeleteO_Object_Intern) Reset()
- func (x *DeleteO_Object_Intern) String() string
- type DeleteO_Object_Public
- type HTTPClient
- type SearchI
- type SearchI_Filter
- type SearchI_Filter_Paging
- func (*SearchI_Filter_Paging) Descriptor() ([]byte, []int)deprecated
- func (x *SearchI_Filter_Paging) GetKind() string
- func (x *SearchI_Filter_Paging) GetStart() string
- func (x *SearchI_Filter_Paging) GetStop() string
- func (*SearchI_Filter_Paging) ProtoMessage()
- func (x *SearchI_Filter_Paging) ProtoReflect() protoreflect.Message
- func (x *SearchI_Filter_Paging) Reset()
- func (x *SearchI_Filter_Paging) String() string
- type SearchI_Object
- func (*SearchI_Object) Descriptor() ([]byte, []int)deprecated
- func (x *SearchI_Object) GetIntern() *SearchI_Object_Intern
- func (x *SearchI_Object) GetPublic() *SearchI_Object_Public
- func (x *SearchI_Object) GetSymbol() *SearchI_Object_Symbol
- func (*SearchI_Object) ProtoMessage()
- func (x *SearchI_Object) ProtoReflect() protoreflect.Message
- func (x *SearchI_Object) Reset()
- func (x *SearchI_Object) String() string
- type SearchI_Object_Intern
- func (*SearchI_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *SearchI_Object_Intern) GetId() string
- func (x *SearchI_Object_Intern) GetOwner() string
- func (x *SearchI_Object_Intern) GetTree() string
- func (*SearchI_Object_Intern) ProtoMessage()
- func (x *SearchI_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *SearchI_Object_Intern) Reset()
- func (x *SearchI_Object_Intern) String() string
- type SearchI_Object_Public
- func (*SearchI_Object_Public) Descriptor() ([]byte, []int)deprecated
- func (x *SearchI_Object_Public) GetLabels() string
- func (x *SearchI_Object_Public) GetLifecycle() string
- func (*SearchI_Object_Public) ProtoMessage()
- func (x *SearchI_Object_Public) ProtoReflect() protoreflect.Message
- func (x *SearchI_Object_Public) Reset()
- func (x *SearchI_Object_Public) String() string
- type SearchI_Object_Symbol
- func (*SearchI_Object_Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *SearchI_Object_Symbol) GetList() string
- func (x *SearchI_Object_Symbol) GetTime() string
- func (x *SearchI_Object_Symbol) GetVote() string
- func (*SearchI_Object_Symbol) ProtoMessage()
- func (x *SearchI_Object_Symbol) ProtoReflect() protoreflect.Message
- func (x *SearchI_Object_Symbol) Reset()
- func (x *SearchI_Object_Symbol) String() string
- type SearchO
- type SearchO_Filter
- type SearchO_Object
- func (*SearchO_Object) Descriptor() ([]byte, []int)deprecated
- func (x *SearchO_Object) GetExtern() *SearchO_Object_Extern
- func (x *SearchO_Object) GetIntern() *SearchO_Object_Intern
- func (x *SearchO_Object) GetPublic() *SearchO_Object_Public
- func (*SearchO_Object) ProtoMessage()
- func (x *SearchO_Object) ProtoReflect() protoreflect.Message
- func (x *SearchO_Object) Reset()
- func (x *SearchO_Object) String() string
- type SearchO_Object_Extern
- func (*SearchO_Object_Extern) Descriptor() ([]byte, []int)deprecated
- func (x *SearchO_Object_Extern) GetSamples() map[string]string
- func (*SearchO_Object_Extern) ProtoMessage()
- func (x *SearchO_Object_Extern) ProtoReflect() protoreflect.Message
- func (x *SearchO_Object_Extern) Reset()
- func (x *SearchO_Object_Extern) String() string
- type SearchO_Object_Intern
- func (*SearchO_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *SearchO_Object_Intern) GetCreated() string
- func (x *SearchO_Object_Intern) GetId() string
- func (x *SearchO_Object_Intern) GetOwner() string
- func (x *SearchO_Object_Intern) GetTree() string
- func (*SearchO_Object_Intern) ProtoMessage()
- func (x *SearchO_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *SearchO_Object_Intern) Reset()
- func (x *SearchO_Object_Intern) String() string
- type SearchO_Object_Public
- func (*SearchO_Object_Public) Descriptor() ([]byte, []int)deprecated
- func (x *SearchO_Object_Public) GetChain() string
- func (x *SearchO_Object_Public) GetContract() string
- func (x *SearchO_Object_Public) GetExpiry() string
- func (x *SearchO_Object_Public) GetHash() string
- func (x *SearchO_Object_Public) GetKind() string
- func (x *SearchO_Object_Public) GetLabels() string
- func (x *SearchO_Object_Public) GetLifecycle() string
- func (x *SearchO_Object_Public) GetMeta() string
- func (x *SearchO_Object_Public) GetParent() string
- func (x *SearchO_Object_Public) GetSummary() string
- func (x *SearchO_Object_Public) GetText() string
- func (x *SearchO_Object_Public) GetToken() string
- func (*SearchO_Object_Public) ProtoMessage()
- func (x *SearchO_Object_Public) ProtoReflect() protoreflect.Message
- func (x *SearchO_Object_Public) Reset()
- func (x *SearchO_Object_Public) String() string
- type TwirpServer
- type UpdateI
- type UpdateI_Filter
- type UpdateI_Object
- func (*UpdateI_Object) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateI_Object) GetIntern() *UpdateI_Object_Intern
- func (x *UpdateI_Object) GetPublic() *UpdateI_Object_Public
- func (x *UpdateI_Object) GetSymbol() *UpdateI_Object_Symbol
- func (*UpdateI_Object) ProtoMessage()
- func (x *UpdateI_Object) ProtoReflect() protoreflect.Message
- func (x *UpdateI_Object) Reset()
- func (x *UpdateI_Object) String() string
- type UpdateI_Object_Intern
- func (*UpdateI_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateI_Object_Intern) GetId() string
- func (*UpdateI_Object_Intern) ProtoMessage()
- func (x *UpdateI_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *UpdateI_Object_Intern) Reset()
- func (x *UpdateI_Object_Intern) String() string
- type UpdateI_Object_Public
- func (*UpdateI_Object_Public) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateI_Object_Public) GetHash() string
- func (x *UpdateI_Object_Public) GetMeta() string
- func (*UpdateI_Object_Public) ProtoMessage()
- func (x *UpdateI_Object_Public) ProtoReflect() protoreflect.Message
- func (x *UpdateI_Object_Public) Reset()
- func (x *UpdateI_Object_Public) String() string
- type UpdateI_Object_Symbol
- type UpdateO
- type UpdateO_Filter
- type UpdateO_Object
- func (*UpdateO_Object) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateO_Object) GetIntern() *UpdateO_Object_Intern
- func (x *UpdateO_Object) GetPublic() *UpdateO_Object_Public
- func (*UpdateO_Object) ProtoMessage()
- func (x *UpdateO_Object) ProtoReflect() protoreflect.Message
- func (x *UpdateO_Object) Reset()
- func (x *UpdateO_Object) String() string
- type UpdateO_Object_Intern
- func (*UpdateO_Object_Intern) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateO_Object_Intern) GetStatus() string
- func (*UpdateO_Object_Intern) ProtoMessage()
- func (x *UpdateO_Object_Intern) ProtoReflect() protoreflect.Message
- func (x *UpdateO_Object_Intern) Reset()
- func (x *UpdateO_Object_Intern) String() string
- type UpdateO_Object_Public
Constants ¶
const APIPathPrefix = "/twirp/post.API/"
APIPathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
Variables ¶
var File_pbf_post_api_proto protoreflect.FileDescriptor
var File_pbf_post_create_proto protoreflect.FileDescriptor
var File_pbf_post_delete_proto protoreflect.FileDescriptor
var File_pbf_post_search_proto protoreflect.FileDescriptor
var File_pbf_post_update_proto protoreflect.FileDescriptor
Functions ¶
func WriteError ¶
func WriteError(resp http.ResponseWriter, err error)
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
Types ¶
type API ¶
type API interface { Create(context.Context, *CreateI) (*CreateO, error) Delete(context.Context, *DeleteI) (*DeleteO, error) Search(context.Context, *SearchI) (*SearchO, error) Update(context.Context, *UpdateI) (*UpdateO, error) }
func NewAPIJSONClient ¶
func NewAPIJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) API
NewAPIJSONClient creates a JSON client that implements the API interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewAPIProtobufClient ¶
func NewAPIProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) API
NewAPIProtobufClient creates a Protobuf client that implements the API interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type CreateI ¶
type CreateI struct { Filter *CreateI_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*CreateI_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
CreateI is the input for creating posts.
{ "object": [ { "public": { "chain": "421614", "contract": "0x5678", "expiry": "1689001255", "kind": "claim", "labels": "economy,inflation", "lifecycle": "propose", "text": "foo bar lorem ipsum", "token": "WETH" } } ] }
func (*CreateI) Descriptor
deprecated
func (*CreateI) GetFilter ¶
func (x *CreateI) GetFilter() *CreateI_Filter
func (*CreateI) GetObject ¶
func (x *CreateI) GetObject() []*CreateI_Object
func (*CreateI) ProtoMessage ¶
func (*CreateI) ProtoMessage()
func (*CreateI) ProtoReflect ¶
func (x *CreateI) ProtoReflect() protoreflect.Message
type CreateI_Filter ¶
type CreateI_Filter struct {
// contains filtered or unexported fields
}
func (*CreateI_Filter) Descriptor
deprecated
func (*CreateI_Filter) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Filter.ProtoReflect.Descriptor instead.
func (*CreateI_Filter) ProtoMessage ¶
func (*CreateI_Filter) ProtoMessage()
func (*CreateI_Filter) ProtoReflect ¶
func (x *CreateI_Filter) ProtoReflect() protoreflect.Message
func (*CreateI_Filter) Reset ¶
func (x *CreateI_Filter) Reset()
func (*CreateI_Filter) String ¶
func (x *CreateI_Filter) String() string
type CreateI_Object ¶
type CreateI_Object struct { Intern *CreateI_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *CreateI_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*CreateI_Object) Descriptor
deprecated
func (*CreateI_Object) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Object.ProtoReflect.Descriptor instead.
func (*CreateI_Object) GetIntern ¶
func (x *CreateI_Object) GetIntern() *CreateI_Object_Intern
func (*CreateI_Object) GetPublic ¶
func (x *CreateI_Object) GetPublic() *CreateI_Object_Public
func (*CreateI_Object) ProtoMessage ¶
func (*CreateI_Object) ProtoMessage()
func (*CreateI_Object) ProtoReflect ¶
func (x *CreateI_Object) ProtoReflect() protoreflect.Message
func (*CreateI_Object) Reset ¶
func (x *CreateI_Object) Reset()
func (*CreateI_Object) String ¶
func (x *CreateI_Object) String() string
type CreateI_Object_Intern ¶
type CreateI_Object_Intern struct {
// contains filtered or unexported fields
}
func (*CreateI_Object_Intern) Descriptor
deprecated
func (*CreateI_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Object_Intern.ProtoReflect.Descriptor instead.
func (*CreateI_Object_Intern) ProtoMessage ¶
func (*CreateI_Object_Intern) ProtoMessage()
func (*CreateI_Object_Intern) ProtoReflect ¶
func (x *CreateI_Object_Intern) ProtoReflect() protoreflect.Message
func (*CreateI_Object_Intern) Reset ¶
func (x *CreateI_Object_Intern) Reset()
func (*CreateI_Object_Intern) String ¶
func (x *CreateI_Object_Intern) String() string
type CreateI_Object_Public ¶
type CreateI_Object_Public struct { // chain is the chain ID on which a claim got proposed. This field must be // empty for posts of kind "comment". Chain string `protobuf:"bytes,100,opt,name=chain,proto3" json:"chain,omitempty"` // contract is the address of the token specific smart contract on which this // market is facilitated. Contract string `protobuf:"bytes,200,opt,name=contract,proto3" json:"contract,omitempty"` // expiry is the unix timestamp in seconds at which the post expires. Every // expiry marks the point in time at which a claim may transition into a new // lifecycle phase. Expiry string `protobuf:"bytes,300,opt,name=expiry,proto3" json:"expiry,omitempty"` // hash is the onchain transaction hash if post kind is "claim". hash must be // empty for comments. hash left empty implies an interim lifecycle phase // "pending". Setting hash implies that the given claim got confirmed onchain, // and with it the claim's interim lifecycle phase will not be "pending" // anymore, but instead switch to the provided desired lifecycle phase. Hash string `protobuf:"bytes,400,opt,name=hash,proto3" json:"hash,omitempty"` // kind is the type of post, e.g. "claim" or "comment" on which reputation is // staked. Kind string `protobuf:"bytes,500,opt,name=kind,proto3" json:"kind,omitempty"` // labels is a comma separated list of category labels that this claim is // related to. Labels string `protobuf:"bytes,600,opt,name=labels,proto3" json:"labels,omitempty"` // lifecycle describes the desired lifecycle phase of a claim within its own // tree. Only posts of kind "claim" will have a lifecycle phase set. All // claims start with the interim lifecycle phase "pending". Those pending // claims were posted offchain, but have not yet been confirmed onchain. Once // claims have been confirmed onchain the claim's desired lifecycle phase will // be set as provided. // // "dispute" describes claims that challenge any prior resolution // // "propose" describes claims that make any initial statement // // "resolve" describes claims that allow to verify the truth Lifecycle string `protobuf:"bytes,700,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // meta may contain onchain arbitrary meta data. Meta string `protobuf:"bytes,800,opt,name=meta,proto3" json:"meta,omitempty"` // parent is the post ID of any claim that references another claim within its // own tree. The first claim within a tree does not have a parent. If a post // is for instance of kind "claim" and has lifecycle "dispute", then parent // will reference the prior claim of kind "resolve" within their common tree, // because any dispute does always try to challange any prior resolution. Parent string `protobuf:"bytes,900,opt,name=parent,proto3" json:"parent,omitempty"` // text is the human readable description the user provides in order to make a // statement, whether the post kind is "claim" or "comment". This text may be // provided in markdown format. This text might as be long as a common blog // post. This text might contain external links. Text string `protobuf:"bytes,1000,opt,name=text,proto3" json:"text,omitempty"` // token is the token in which the staked reputation is denominated. Token string `protobuf:"bytes,1100,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*CreateI_Object_Public) Descriptor
deprecated
func (*CreateI_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use CreateI_Object_Public.ProtoReflect.Descriptor instead.
func (*CreateI_Object_Public) GetChain ¶ added in v0.1.9
func (x *CreateI_Object_Public) GetChain() string
func (*CreateI_Object_Public) GetContract ¶ added in v0.1.17
func (x *CreateI_Object_Public) GetContract() string
func (*CreateI_Object_Public) GetExpiry ¶
func (x *CreateI_Object_Public) GetExpiry() string
func (*CreateI_Object_Public) GetHash ¶ added in v0.1.10
func (x *CreateI_Object_Public) GetHash() string
func (*CreateI_Object_Public) GetKind ¶
func (x *CreateI_Object_Public) GetKind() string
func (*CreateI_Object_Public) GetLabels ¶ added in v0.1.4
func (x *CreateI_Object_Public) GetLabels() string
func (*CreateI_Object_Public) GetLifecycle ¶ added in v0.1.1
func (x *CreateI_Object_Public) GetLifecycle() string
func (*CreateI_Object_Public) GetMeta ¶ added in v0.1.9
func (x *CreateI_Object_Public) GetMeta() string
func (*CreateI_Object_Public) GetParent ¶ added in v0.1.1
func (x *CreateI_Object_Public) GetParent() string
func (*CreateI_Object_Public) GetText ¶
func (x *CreateI_Object_Public) GetText() string
func (*CreateI_Object_Public) GetToken ¶
func (x *CreateI_Object_Public) GetToken() string
func (*CreateI_Object_Public) ProtoMessage ¶
func (*CreateI_Object_Public) ProtoMessage()
func (*CreateI_Object_Public) ProtoReflect ¶
func (x *CreateI_Object_Public) ProtoReflect() protoreflect.Message
func (*CreateI_Object_Public) Reset ¶
func (x *CreateI_Object_Public) Reset()
func (*CreateI_Object_Public) String ¶
func (x *CreateI_Object_Public) String() string
type CreateO ¶
type CreateO struct { Filter *CreateO_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*CreateO_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
CreateO is the output for creating posts.
{ "object": [ { "intern": { "created": "1689001255", "id": "778237" } } ] }
func (*CreateO) Descriptor
deprecated
func (*CreateO) GetFilter ¶
func (x *CreateO) GetFilter() *CreateO_Filter
func (*CreateO) GetObject ¶
func (x *CreateO) GetObject() []*CreateO_Object
func (*CreateO) ProtoMessage ¶
func (*CreateO) ProtoMessage()
func (*CreateO) ProtoReflect ¶
func (x *CreateO) ProtoReflect() protoreflect.Message
type CreateO_Filter ¶
type CreateO_Filter struct {
// contains filtered or unexported fields
}
func (*CreateO_Filter) Descriptor
deprecated
func (*CreateO_Filter) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_Filter.ProtoReflect.Descriptor instead.
func (*CreateO_Filter) ProtoMessage ¶
func (*CreateO_Filter) ProtoMessage()
func (*CreateO_Filter) ProtoReflect ¶
func (x *CreateO_Filter) ProtoReflect() protoreflect.Message
func (*CreateO_Filter) Reset ¶
func (x *CreateO_Filter) Reset()
func (*CreateO_Filter) String ¶
func (x *CreateO_Filter) String() string
type CreateO_Object ¶
type CreateO_Object struct { Intern *CreateO_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *CreateO_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*CreateO_Object) Descriptor
deprecated
func (*CreateO_Object) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_Object.ProtoReflect.Descriptor instead.
func (*CreateO_Object) GetIntern ¶
func (x *CreateO_Object) GetIntern() *CreateO_Object_Intern
func (*CreateO_Object) GetPublic ¶
func (x *CreateO_Object) GetPublic() *CreateO_Object_Public
func (*CreateO_Object) ProtoMessage ¶
func (*CreateO_Object) ProtoMessage()
func (*CreateO_Object) ProtoReflect ¶
func (x *CreateO_Object) ProtoReflect() protoreflect.Message
func (*CreateO_Object) Reset ¶
func (x *CreateO_Object) Reset()
func (*CreateO_Object) String ¶
func (x *CreateO_Object) String() string
type CreateO_Object_Intern ¶
type CreateO_Object_Intern struct { // created is the unix timestamp in seconds at which the post got created. Created string `protobuf:"bytes,100,opt,name=created,proto3" json:"created,omitempty"` // id is the ID of the post object being created. Id string `protobuf:"bytes,200,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateO_Object_Intern) Descriptor
deprecated
func (*CreateO_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_Object_Intern.ProtoReflect.Descriptor instead.
func (*CreateO_Object_Intern) GetCreated ¶
func (x *CreateO_Object_Intern) GetCreated() string
func (*CreateO_Object_Intern) GetId ¶ added in v0.1.1
func (x *CreateO_Object_Intern) GetId() string
func (*CreateO_Object_Intern) ProtoMessage ¶
func (*CreateO_Object_Intern) ProtoMessage()
func (*CreateO_Object_Intern) ProtoReflect ¶
func (x *CreateO_Object_Intern) ProtoReflect() protoreflect.Message
func (*CreateO_Object_Intern) Reset ¶
func (x *CreateO_Object_Intern) Reset()
func (*CreateO_Object_Intern) String ¶
func (x *CreateO_Object_Intern) String() string
type CreateO_Object_Public ¶
type CreateO_Object_Public struct {
// contains filtered or unexported fields
}
func (*CreateO_Object_Public) Descriptor
deprecated
func (*CreateO_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use CreateO_Object_Public.ProtoReflect.Descriptor instead.
func (*CreateO_Object_Public) ProtoMessage ¶
func (*CreateO_Object_Public) ProtoMessage()
func (*CreateO_Object_Public) ProtoReflect ¶
func (x *CreateO_Object_Public) ProtoReflect() protoreflect.Message
func (*CreateO_Object_Public) Reset ¶
func (x *CreateO_Object_Public) Reset()
func (*CreateO_Object_Public) String ¶
func (x *CreateO_Object_Public) String() string
type DeleteI ¶
type DeleteI struct { Filter *DeleteI_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*DeleteI_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
DeleteI is the input for deleting posts.
{ "object": [ { "intern": { "id": "778237" } } ] }
func (*DeleteI) Descriptor
deprecated
func (*DeleteI) GetFilter ¶
func (x *DeleteI) GetFilter() *DeleteI_Filter
func (*DeleteI) GetObject ¶
func (x *DeleteI) GetObject() []*DeleteI_Object
func (*DeleteI) ProtoMessage ¶
func (*DeleteI) ProtoMessage()
func (*DeleteI) ProtoReflect ¶
func (x *DeleteI) ProtoReflect() protoreflect.Message
type DeleteI_Filter ¶
type DeleteI_Filter struct {
// contains filtered or unexported fields
}
func (*DeleteI_Filter) Descriptor
deprecated
func (*DeleteI_Filter) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_Filter.ProtoReflect.Descriptor instead.
func (*DeleteI_Filter) ProtoMessage ¶
func (*DeleteI_Filter) ProtoMessage()
func (*DeleteI_Filter) ProtoReflect ¶
func (x *DeleteI_Filter) ProtoReflect() protoreflect.Message
func (*DeleteI_Filter) Reset ¶
func (x *DeleteI_Filter) Reset()
func (*DeleteI_Filter) String ¶
func (x *DeleteI_Filter) String() string
type DeleteI_Object ¶
type DeleteI_Object struct { Intern *DeleteI_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *DeleteI_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*DeleteI_Object) Descriptor
deprecated
func (*DeleteI_Object) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_Object.ProtoReflect.Descriptor instead.
func (*DeleteI_Object) GetIntern ¶
func (x *DeleteI_Object) GetIntern() *DeleteI_Object_Intern
func (*DeleteI_Object) GetPublic ¶
func (x *DeleteI_Object) GetPublic() *DeleteI_Object_Public
func (*DeleteI_Object) ProtoMessage ¶
func (*DeleteI_Object) ProtoMessage()
func (*DeleteI_Object) ProtoReflect ¶
func (x *DeleteI_Object) ProtoReflect() protoreflect.Message
func (*DeleteI_Object) Reset ¶
func (x *DeleteI_Object) Reset()
func (*DeleteI_Object) String ¶
func (x *DeleteI_Object) String() string
type DeleteI_Object_Intern ¶
type DeleteI_Object_Intern struct { // id is the ID of the post object being deleted. Id string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteI_Object_Intern) Descriptor
deprecated
func (*DeleteI_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_Object_Intern.ProtoReflect.Descriptor instead.
func (*DeleteI_Object_Intern) GetId ¶ added in v0.1.1
func (x *DeleteI_Object_Intern) GetId() string
func (*DeleteI_Object_Intern) ProtoMessage ¶
func (*DeleteI_Object_Intern) ProtoMessage()
func (*DeleteI_Object_Intern) ProtoReflect ¶
func (x *DeleteI_Object_Intern) ProtoReflect() protoreflect.Message
func (*DeleteI_Object_Intern) Reset ¶
func (x *DeleteI_Object_Intern) Reset()
func (*DeleteI_Object_Intern) String ¶
func (x *DeleteI_Object_Intern) String() string
type DeleteI_Object_Public ¶
type DeleteI_Object_Public struct {
// contains filtered or unexported fields
}
func (*DeleteI_Object_Public) Descriptor
deprecated
func (*DeleteI_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use DeleteI_Object_Public.ProtoReflect.Descriptor instead.
func (*DeleteI_Object_Public) ProtoMessage ¶
func (*DeleteI_Object_Public) ProtoMessage()
func (*DeleteI_Object_Public) ProtoReflect ¶
func (x *DeleteI_Object_Public) ProtoReflect() protoreflect.Message
func (*DeleteI_Object_Public) Reset ¶
func (x *DeleteI_Object_Public) Reset()
func (*DeleteI_Object_Public) String ¶
func (x *DeleteI_Object_Public) String() string
type DeleteO ¶
type DeleteO struct { Filter *DeleteO_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*DeleteO_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
DeleteO is the output for deleting posts.
{ "object": [ { "intern": { "status": "deleted" } } ] }
func (*DeleteO) Descriptor
deprecated
func (*DeleteO) GetFilter ¶
func (x *DeleteO) GetFilter() *DeleteO_Filter
func (*DeleteO) GetObject ¶
func (x *DeleteO) GetObject() []*DeleteO_Object
func (*DeleteO) ProtoMessage ¶
func (*DeleteO) ProtoMessage()
func (*DeleteO) ProtoReflect ¶
func (x *DeleteO) ProtoReflect() protoreflect.Message
type DeleteO_Filter ¶
type DeleteO_Filter struct {
// contains filtered or unexported fields
}
func (*DeleteO_Filter) Descriptor
deprecated
func (*DeleteO_Filter) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_Filter.ProtoReflect.Descriptor instead.
func (*DeleteO_Filter) ProtoMessage ¶
func (*DeleteO_Filter) ProtoMessage()
func (*DeleteO_Filter) ProtoReflect ¶
func (x *DeleteO_Filter) ProtoReflect() protoreflect.Message
func (*DeleteO_Filter) Reset ¶
func (x *DeleteO_Filter) Reset()
func (*DeleteO_Filter) String ¶
func (x *DeleteO_Filter) String() string
type DeleteO_Object ¶
type DeleteO_Object struct { Intern *DeleteO_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *DeleteO_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*DeleteO_Object) Descriptor
deprecated
func (*DeleteO_Object) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_Object.ProtoReflect.Descriptor instead.
func (*DeleteO_Object) GetIntern ¶
func (x *DeleteO_Object) GetIntern() *DeleteO_Object_Intern
func (*DeleteO_Object) GetPublic ¶
func (x *DeleteO_Object) GetPublic() *DeleteO_Object_Public
func (*DeleteO_Object) ProtoMessage ¶
func (*DeleteO_Object) ProtoMessage()
func (*DeleteO_Object) ProtoReflect ¶
func (x *DeleteO_Object) ProtoReflect() protoreflect.Message
func (*DeleteO_Object) Reset ¶
func (x *DeleteO_Object) Reset()
func (*DeleteO_Object) String ¶
func (x *DeleteO_Object) String() string
type DeleteO_Object_Intern ¶
type DeleteO_Object_Intern struct { // status is the resource status upon successful post deletion. Status string `protobuf:"bytes,100,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*DeleteO_Object_Intern) Descriptor
deprecated
func (*DeleteO_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_Object_Intern.ProtoReflect.Descriptor instead.
func (*DeleteO_Object_Intern) GetStatus ¶
func (x *DeleteO_Object_Intern) GetStatus() string
func (*DeleteO_Object_Intern) ProtoMessage ¶
func (*DeleteO_Object_Intern) ProtoMessage()
func (*DeleteO_Object_Intern) ProtoReflect ¶
func (x *DeleteO_Object_Intern) ProtoReflect() protoreflect.Message
func (*DeleteO_Object_Intern) Reset ¶
func (x *DeleteO_Object_Intern) Reset()
func (*DeleteO_Object_Intern) String ¶
func (x *DeleteO_Object_Intern) String() string
type DeleteO_Object_Public ¶
type DeleteO_Object_Public struct {
// contains filtered or unexported fields
}
func (*DeleteO_Object_Public) Descriptor
deprecated
func (*DeleteO_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use DeleteO_Object_Public.ProtoReflect.Descriptor instead.
func (*DeleteO_Object_Public) ProtoMessage ¶
func (*DeleteO_Object_Public) ProtoMessage()
func (*DeleteO_Object_Public) ProtoReflect ¶
func (x *DeleteO_Object_Public) ProtoReflect() protoreflect.Message
func (*DeleteO_Object_Public) Reset ¶
func (x *DeleteO_Object_Public) Reset()
func (*DeleteO_Object_Public) String ¶
func (x *DeleteO_Object_Public) String() string
type HTTPClient ¶
HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.
HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.
type SearchI ¶
type SearchI struct { Filter *SearchI_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*SearchI_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
SearchI is the input for searching posts.
{ "filter": { "paging": { "kind": "page", "start": "0", "stop": "49" } }, "object": [ { "intern": { "id": "778237" } } ] }
func (*SearchI) Descriptor
deprecated
func (*SearchI) GetFilter ¶
func (x *SearchI) GetFilter() *SearchI_Filter
func (*SearchI) GetObject ¶
func (x *SearchI) GetObject() []*SearchI_Object
func (*SearchI) ProtoMessage ¶
func (*SearchI) ProtoMessage()
func (*SearchI) ProtoReflect ¶
func (x *SearchI) ProtoReflect() protoreflect.Message
type SearchI_Filter ¶
type SearchI_Filter struct { Paging *SearchI_Filter_Paging `protobuf:"bytes,100,opt,name=paging,proto3" json:"paging,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Filter) Descriptor
deprecated
func (*SearchI_Filter) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Filter.ProtoReflect.Descriptor instead.
func (*SearchI_Filter) GetPaging ¶
func (x *SearchI_Filter) GetPaging() *SearchI_Filter_Paging
func (*SearchI_Filter) ProtoMessage ¶
func (*SearchI_Filter) ProtoMessage()
func (*SearchI_Filter) ProtoReflect ¶
func (x *SearchI_Filter) ProtoReflect() protoreflect.Message
func (*SearchI_Filter) Reset ¶
func (x *SearchI_Filter) Reset()
func (*SearchI_Filter) String ¶
func (x *SearchI_Filter) String() string
type SearchI_Filter_Paging ¶
type SearchI_Filter_Paging struct { Kind string `protobuf:"bytes,100,opt,name=kind,proto3" json:"kind,omitempty"` Start string `protobuf:"bytes,200,opt,name=start,proto3" json:"start,omitempty"` Stop string `protobuf:"bytes,300,opt,name=stop,proto3" json:"stop,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Filter_Paging) Descriptor
deprecated
func (*SearchI_Filter_Paging) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Filter_Paging.ProtoReflect.Descriptor instead.
func (*SearchI_Filter_Paging) GetKind ¶
func (x *SearchI_Filter_Paging) GetKind() string
func (*SearchI_Filter_Paging) GetStart ¶
func (x *SearchI_Filter_Paging) GetStart() string
func (*SearchI_Filter_Paging) GetStop ¶
func (x *SearchI_Filter_Paging) GetStop() string
func (*SearchI_Filter_Paging) ProtoMessage ¶
func (*SearchI_Filter_Paging) ProtoMessage()
func (*SearchI_Filter_Paging) ProtoReflect ¶
func (x *SearchI_Filter_Paging) ProtoReflect() protoreflect.Message
func (*SearchI_Filter_Paging) Reset ¶
func (x *SearchI_Filter_Paging) Reset()
func (*SearchI_Filter_Paging) String ¶
func (x *SearchI_Filter_Paging) String() string
type SearchI_Object ¶
type SearchI_Object struct { Intern *SearchI_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *SearchI_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` Symbol *SearchI_Object_Symbol `protobuf:"bytes,300,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Object) Descriptor
deprecated
func (*SearchI_Object) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Object.ProtoReflect.Descriptor instead.
func (*SearchI_Object) GetIntern ¶
func (x *SearchI_Object) GetIntern() *SearchI_Object_Intern
func (*SearchI_Object) GetPublic ¶
func (x *SearchI_Object) GetPublic() *SearchI_Object_Public
func (*SearchI_Object) GetSymbol ¶
func (x *SearchI_Object) GetSymbol() *SearchI_Object_Symbol
func (*SearchI_Object) ProtoMessage ¶
func (*SearchI_Object) ProtoMessage()
func (*SearchI_Object) ProtoReflect ¶
func (x *SearchI_Object) ProtoReflect() protoreflect.Message
func (*SearchI_Object) Reset ¶
func (x *SearchI_Object) Reset()
func (*SearchI_Object) String ¶
func (x *SearchI_Object) String() string
type SearchI_Object_Intern ¶
type SearchI_Object_Intern struct { // id is the ID of the post object being searched. If searching for a // particular ID, the search query object must not contain any other fields. Id string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"` // owner is the ID of the user having created the posts being searched. If // searching for posts created by a particular owner, the search query object // must not contain any other fields. Owner string `protobuf:"bytes,200,opt,name=owner,proto3" json:"owner,omitempty"` // tree set to any valid ID referring to a tree of claims returns all those // claims belonging to the same tree. There is no paging support since the // number of claims that any given tree may have is rather limited. Tree string `protobuf:"bytes,300,opt,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Object_Intern) Descriptor
deprecated
func (*SearchI_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Object_Intern.ProtoReflect.Descriptor instead.
func (*SearchI_Object_Intern) GetId ¶ added in v0.1.1
func (x *SearchI_Object_Intern) GetId() string
func (*SearchI_Object_Intern) GetOwner ¶ added in v0.1.1
func (x *SearchI_Object_Intern) GetOwner() string
func (*SearchI_Object_Intern) GetTree ¶ added in v0.1.4
func (x *SearchI_Object_Intern) GetTree() string
func (*SearchI_Object_Intern) ProtoMessage ¶
func (*SearchI_Object_Intern) ProtoMessage()
func (*SearchI_Object_Intern) ProtoReflect ¶
func (x *SearchI_Object_Intern) ProtoReflect() protoreflect.Message
func (*SearchI_Object_Intern) Reset ¶
func (x *SearchI_Object_Intern) Reset()
func (*SearchI_Object_Intern) String ¶
func (x *SearchI_Object_Intern) String() string
type SearchI_Object_Public ¶
type SearchI_Object_Public struct { // labels is the comma separated list of categories for which claims are being // searched. Providing multiple labels implies to search for the intersection // of all the given labels. That is, searching for { A, B, C } will only // return claim objects that are associated to A, B and C. In other words, // claims that are associated to A and B, but not to C, will not be returned // in the example above. Labels string `protobuf:"bytes,100,opt,name=labels,proto3" json:"labels,omitempty"` // lifecycle is the lifecycle phase to search specific claims for. For // instance, if lifecycle is set to "dispute", all claims known to be disputes // will be returned. Lifecycle string `protobuf:"bytes,200,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Object_Public) Descriptor
deprecated
func (*SearchI_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Object_Public.ProtoReflect.Descriptor instead.
func (*SearchI_Object_Public) GetLabels ¶ added in v0.1.4
func (x *SearchI_Object_Public) GetLabels() string
func (*SearchI_Object_Public) GetLifecycle ¶ added in v0.1.14
func (x *SearchI_Object_Public) GetLifecycle() string
func (*SearchI_Object_Public) ProtoMessage ¶
func (*SearchI_Object_Public) ProtoMessage()
func (*SearchI_Object_Public) ProtoReflect ¶
func (x *SearchI_Object_Public) ProtoReflect() protoreflect.Message
func (*SearchI_Object_Public) Reset ¶
func (x *SearchI_Object_Public) Reset()
func (*SearchI_Object_Public) String ¶
func (x *SearchI_Object_Public) String() string
type SearchI_Object_Symbol ¶
type SearchI_Object_Symbol struct { // list set to any valid list ID returns all of the posts belonging to this // list. Paging is available for paging kind "page" and "unix". List string `protobuf:"bytes,100,opt,name=list,proto3" json:"list,omitempty"` // time set to "latest" returns all posts in reverse chronological order. // Paging is available for paging kind "page" and "unix". Time string `protobuf:"bytes,200,opt,name=time,proto3" json:"time,omitempty"` // vote is the ID of the user having voted on the claims to search. vote set // to "self" returns the claims voted on by the current user sending the // request, based on the given authorization parameters. Given an OAuth access // token, its encoded subject claim may refer to the internally persisted user // object. Vote string `protobuf:"bytes,300,opt,name=vote,proto3" json:"vote,omitempty"` // contains filtered or unexported fields }
func (*SearchI_Object_Symbol) Descriptor
deprecated
func (*SearchI_Object_Symbol) Descriptor() ([]byte, []int)
Deprecated: Use SearchI_Object_Symbol.ProtoReflect.Descriptor instead.
func (*SearchI_Object_Symbol) GetList ¶
func (x *SearchI_Object_Symbol) GetList() string
func (*SearchI_Object_Symbol) GetTime ¶
func (x *SearchI_Object_Symbol) GetTime() string
func (*SearchI_Object_Symbol) GetVote ¶ added in v0.1.10
func (x *SearchI_Object_Symbol) GetVote() string
func (*SearchI_Object_Symbol) ProtoMessage ¶
func (*SearchI_Object_Symbol) ProtoMessage()
func (*SearchI_Object_Symbol) ProtoReflect ¶
func (x *SearchI_Object_Symbol) ProtoReflect() protoreflect.Message
func (*SearchI_Object_Symbol) Reset ¶
func (x *SearchI_Object_Symbol) Reset()
func (*SearchI_Object_Symbol) String ¶
func (x *SearchI_Object_Symbol) String() string
type SearchO ¶
type SearchO struct { Filter *SearchO_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*SearchO_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
SearchO is the output for searching posts.
{ "object": [ { "intern": { "created": "1689001255", "id": "778237", "owner": "551265", "tree": "487465725612222" }, "public": { "chain": "421614", "contract": "0x5678", "expiry": "1689001255", "hash": "0x1234", "kind": "claim", "labels": "economy,inflation", "lifecycle": "propose:onchain", "summary": "10,2,1,4.843", "text": "foo bar lorem ipsum", "token": "WETH" } } ] }
func (*SearchO) Descriptor
deprecated
func (*SearchO) GetFilter ¶
func (x *SearchO) GetFilter() *SearchO_Filter
func (*SearchO) GetObject ¶
func (x *SearchO) GetObject() []*SearchO_Object
func (*SearchO) ProtoMessage ¶
func (*SearchO) ProtoMessage()
func (*SearchO) ProtoReflect ¶
func (x *SearchO) ProtoReflect() protoreflect.Message
type SearchO_Filter ¶
type SearchO_Filter struct {
// contains filtered or unexported fields
}
func (*SearchO_Filter) Descriptor
deprecated
func (*SearchO_Filter) Descriptor() ([]byte, []int)
Deprecated: Use SearchO_Filter.ProtoReflect.Descriptor instead.
func (*SearchO_Filter) ProtoMessage ¶
func (*SearchO_Filter) ProtoMessage()
func (*SearchO_Filter) ProtoReflect ¶
func (x *SearchO_Filter) ProtoReflect() protoreflect.Message
func (*SearchO_Filter) Reset ¶
func (x *SearchO_Filter) Reset()
func (*SearchO_Filter) String ¶
func (x *SearchO_Filter) String() string
type SearchO_Object ¶
type SearchO_Object struct { Extern *SearchO_Object_Extern `protobuf:"bytes,100,opt,name=extern,proto3" json:"extern,omitempty"` Intern *SearchO_Object_Intern `protobuf:"bytes,200,opt,name=intern,proto3" json:"intern,omitempty"` Public *SearchO_Object_Public `protobuf:"bytes,300,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*SearchO_Object) Descriptor
deprecated
func (*SearchO_Object) Descriptor() ([]byte, []int)
Deprecated: Use SearchO_Object.ProtoReflect.Descriptor instead.
func (*SearchO_Object) GetExtern ¶
func (x *SearchO_Object) GetExtern() *SearchO_Object_Extern
func (*SearchO_Object) GetIntern ¶
func (x *SearchO_Object) GetIntern() *SearchO_Object_Intern
func (*SearchO_Object) GetPublic ¶
func (x *SearchO_Object) GetPublic() *SearchO_Object_Public
func (*SearchO_Object) ProtoMessage ¶
func (*SearchO_Object) ProtoMessage()
func (*SearchO_Object) ProtoReflect ¶
func (x *SearchO_Object) ProtoReflect() protoreflect.Message
func (*SearchO_Object) Reset ¶
func (x *SearchO_Object) Reset()
func (*SearchO_Object) String ¶
func (x *SearchO_Object) String() string
type SearchO_Object_Extern ¶
type SearchO_Object_Extern struct { // samples contains wallet addresses and user IDs as selected by the random // truth sampling process, if any. The key here will be wallet addresses, and // the values here will be user IDs. It may happen that user IDs are missing // if users exclusively participated onchain. Samples will only be returned // for claims of lifecycle phase "resolve", because only such claims select // stakers randomly in order to verify events in teh real world. Samples map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SearchO_Object_Extern) Descriptor
deprecated
func (*SearchO_Object_Extern) Descriptor() ([]byte, []int)
Deprecated: Use SearchO_Object_Extern.ProtoReflect.Descriptor instead.
func (*SearchO_Object_Extern) GetSamples ¶ added in v0.1.16
func (x *SearchO_Object_Extern) GetSamples() map[string]string
func (*SearchO_Object_Extern) ProtoMessage ¶
func (*SearchO_Object_Extern) ProtoMessage()
func (*SearchO_Object_Extern) ProtoReflect ¶
func (x *SearchO_Object_Extern) ProtoReflect() protoreflect.Message
func (*SearchO_Object_Extern) Reset ¶
func (x *SearchO_Object_Extern) Reset()
func (*SearchO_Object_Extern) String ¶
func (x *SearchO_Object_Extern) String() string
type SearchO_Object_Intern ¶
type SearchO_Object_Intern struct { // created is the unix timestamp in seconds at which this post got created. Created string `protobuf:"bytes,100,opt,name=created,proto3" json:"created,omitempty"` // id is the ID of the post object being searched. Id string `protobuf:"bytes,200,opt,name=id,proto3" json:"id,omitempty"` // owner is the ID of the user who created this post. Owner string `protobuf:"bytes,300,opt,name=owner,proto3" json:"owner,omitempty"` // tree is the internal list ID within which all referenced claims are grouped // together. Using this tree ID, it is possible to search for all claims // belonging to the same original propose. Tree string `protobuf:"bytes,400,opt,name=tree,proto3" json:"tree,omitempty"` // contains filtered or unexported fields }
func (*SearchO_Object_Intern) Descriptor
deprecated
func (*SearchO_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use SearchO_Object_Intern.ProtoReflect.Descriptor instead.
func (*SearchO_Object_Intern) GetCreated ¶
func (x *SearchO_Object_Intern) GetCreated() string
func (*SearchO_Object_Intern) GetId ¶ added in v0.1.1
func (x *SearchO_Object_Intern) GetId() string
func (*SearchO_Object_Intern) GetOwner ¶ added in v0.1.1
func (x *SearchO_Object_Intern) GetOwner() string
func (*SearchO_Object_Intern) GetTree ¶ added in v0.1.1
func (x *SearchO_Object_Intern) GetTree() string
func (*SearchO_Object_Intern) ProtoMessage ¶
func (*SearchO_Object_Intern) ProtoMessage()
func (*SearchO_Object_Intern) ProtoReflect ¶
func (x *SearchO_Object_Intern) ProtoReflect() protoreflect.Message
func (*SearchO_Object_Intern) Reset ¶
func (x *SearchO_Object_Intern) Reset()
func (*SearchO_Object_Intern) String ¶
func (x *SearchO_Object_Intern) String() string
type SearchO_Object_Public ¶
type SearchO_Object_Public struct { // chain is the chain ID on which a claim got proposed. This field must be // empty for posts of kind "comment". Chain string `protobuf:"bytes,100,opt,name=chain,proto3" json:"chain,omitempty"` // contract is the address of the token specific smart contract on which this // market is facilitated. Contract string `protobuf:"bytes,200,opt,name=contract,proto3" json:"contract,omitempty"` // expiry is the unix timestamp in seconds at which the post expires. Every // expiry marks the point in time at which a claim may transition into a new // lifecycle phase. Expiry string `protobuf:"bytes,300,opt,name=expiry,proto3" json:"expiry,omitempty"` // hash is the onchain transaction hash if post kind is "claim". Hash must be // empty for comments. Setting hash implies that the claim got confirmed // onchain, and with it the lifecycle phase "propose" will be inferred // automatically. Hash string `protobuf:"bytes,400,opt,name=hash,proto3" json:"hash,omitempty"` // kind is the type of post, e.g. "claim" or "comment" on which reputation is // staked. Kind string `protobuf:"bytes,500,opt,name=kind,proto3" json:"kind,omitempty"` // labels is a comma separated list of category labels that this claim is // related to. Labels string `protobuf:"bytes,600,opt,name=labels,proto3" json:"labels,omitempty"` // lifecycle describes the desired lifecycle phase of a claim within its own // tree, plus its status within the system. This field may look like one of // the examples below. // // dispute:pending // // propose:onchain // // resolve:pending // // balance:onchain // // Only posts of kind "claim" will have a lifecycle phase set. The full list // of possible lifecycle phases can be seen below. // // "dispute" describes claims that challenge any prior resolution // // "propose" describes claims that make any initial statement // // "resolve" describes claims that allow to verify the truth // // "balance" describes meta objects for updating user balances // // All claims start with the interim system status "pending". Those pending // claims were posted offchain, but have not yet been confirmed onchain. // // "pending" describes claims that have only been posted offchain // // "onchain" describes claims that have been confirmed onchain Lifecycle string `protobuf:"bytes,700,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // meta may contain onchain arbitrary meta data. Meta string `protobuf:"bytes,800,opt,name=meta,proto3" json:"meta,omitempty"` // parent is the post ID of any claim that references another claim within its // own tree. The first claim within a tree does not have a parent. If a post // is for instance of kind "claim" and has lifecycle "dispute", then parent // will reference the prior claim of kind "resolve" within their common tree, // because any dispute does always try to challange any prior resolution. Parent string `protobuf:"bytes,900,opt,name=parent,proto3" json:"parent,omitempty"` // summary is an account of various vote specific metrics in relation to the // referenced claim and its lifecycle phase. If kind equals "claim" and // lifecycle is one of "dispute" or "propose", then summary may be a comma // separated string of information about staked reputation in the following // format. // // "agreement,disagreement,minimum,creator" // // If kind equals "claim" and lifecycle is "resolve", then summary may be a // comma separated string of information about verified events in the // following format. Any permutation of summary details may be possible, e.g. // "10,0", "0,8", "8,4", "9,9" etc. // // "agreement,disagreement" // // If kind equals "comment" and the lifecycle of the parent claim is one of // "dispute" or "propose", then summary may be a comma separated string of // information about the reputation that the commenting user staked on the // parent claim, in the following format. While most reputation staked may // only take one side, any permutation of tokens may be possible, e.g. // "0.5,0", "0,3", "2,0.02". // // "agreement,disagreement" // // If kind equals "comment" and the lifecycle of the parent claim is // "resolve", then summary may be a comma separated string of information // about the events that the commenting user verified on the parent claim, in // the following format. Comments must only have a single voice on either // side, e.g. "1,0", "0,1". // // "agreement,disagreement" // // Further, the summary summary provides contextual information for the claim // or comment at hand. The following definitions may apply respectively. // // "agreement" represents all votes cast in agreement with the given // statement. The values here may be the amount of tokens or the amount of // voices that either expressed opinions or verified the truth. // // "disagreement" represents all votes cast in disagreement with the given // statement. The values here may be the amount of tokens or the amount of // voices that either expressed opinions or verified the truth. // // "minimum" represents the minimum amount of reputation that must be // staked when participating in this market. This value does neither apply // to comments nor to resolutions. // // "creator" represents the amount of staked reputation belonging to the // user who created the claim on which opinions have to be expressed. // This value does neither apply to comments nor to claims of lifecycle // "resolve". Summary string `protobuf:"bytes,1000,opt,name=summary,proto3" json:"summary,omitempty"` // text is the human readable description the user provides in order to make a // statement whether kind equals "claim" or "comment". This text may be // provided in markdown format. This text might be as long as a common blog // post. This text might contain external links. Text string `protobuf:"bytes,1100,opt,name=text,proto3" json:"text,omitempty"` // token is the token in which the staked reputation is denominated. Token string `protobuf:"bytes,1200,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*SearchO_Object_Public) Descriptor
deprecated
func (*SearchO_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use SearchO_Object_Public.ProtoReflect.Descriptor instead.
func (*SearchO_Object_Public) GetChain ¶ added in v0.1.9
func (x *SearchO_Object_Public) GetChain() string
func (*SearchO_Object_Public) GetContract ¶ added in v0.1.17
func (x *SearchO_Object_Public) GetContract() string
func (*SearchO_Object_Public) GetExpiry ¶
func (x *SearchO_Object_Public) GetExpiry() string
func (*SearchO_Object_Public) GetHash ¶ added in v0.1.10
func (x *SearchO_Object_Public) GetHash() string
func (*SearchO_Object_Public) GetKind ¶
func (x *SearchO_Object_Public) GetKind() string
func (*SearchO_Object_Public) GetLabels ¶ added in v0.1.4
func (x *SearchO_Object_Public) GetLabels() string
func (*SearchO_Object_Public) GetLifecycle ¶ added in v0.1.1
func (x *SearchO_Object_Public) GetLifecycle() string
func (*SearchO_Object_Public) GetMeta ¶ added in v0.1.9
func (x *SearchO_Object_Public) GetMeta() string
func (*SearchO_Object_Public) GetParent ¶ added in v0.1.1
func (x *SearchO_Object_Public) GetParent() string
func (*SearchO_Object_Public) GetSummary ¶ added in v0.1.19
func (x *SearchO_Object_Public) GetSummary() string
func (*SearchO_Object_Public) GetText ¶
func (x *SearchO_Object_Public) GetText() string
func (*SearchO_Object_Public) GetToken ¶
func (x *SearchO_Object_Public) GetToken() string
func (*SearchO_Object_Public) ProtoMessage ¶
func (*SearchO_Object_Public) ProtoMessage()
func (*SearchO_Object_Public) ProtoReflect ¶
func (x *SearchO_Object_Public) ProtoReflect() protoreflect.Message
func (*SearchO_Object_Public) Reset ¶
func (x *SearchO_Object_Public) Reset()
func (*SearchO_Object_Public) String ¶
func (x *SearchO_Object_Public) String() string
type TwirpServer ¶
type TwirpServer interface { http.Handler // ServiceDescriptor returns gzipped bytes describing the .proto file that // this service was generated from. Once unzipped, the bytes can be // unmarshalled as a // google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto. // // The returned integer is the index of this particular service within that // FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a // low-level field, expected to be used for reflection. ServiceDescriptor() ([]byte, int) // ProtocGenTwirpVersion is the semantic version string of the version of // twirp used to generate this file. ProtocGenTwirpVersion() string // PathPrefix returns the HTTP URL path prefix for all methods handled by this // service. This can be used with an HTTP mux to route Twirp requests. // The path prefix is in the form: "/<prefix>/<package>.<Service>/" // that is, everything in a Twirp route except for the <Method> at the end. PathPrefix() string }
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.
func NewAPIServer ¶
func NewAPIServer(svc API, opts ...interface{}) TwirpServer
NewAPIServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
type UpdateI ¶
type UpdateI struct { Filter *UpdateI_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*UpdateI_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
UpdateI is the input for updating posts.
{ "object": [ { "intern": { "id": "778237" }, "public": { "hash": "0x1234" } } ] }
func (*UpdateI) Descriptor
deprecated
func (*UpdateI) GetFilter ¶
func (x *UpdateI) GetFilter() *UpdateI_Filter
func (*UpdateI) GetObject ¶
func (x *UpdateI) GetObject() []*UpdateI_Object
func (*UpdateI) ProtoMessage ¶
func (*UpdateI) ProtoMessage()
func (*UpdateI) ProtoReflect ¶
func (x *UpdateI) ProtoReflect() protoreflect.Message
type UpdateI_Filter ¶
type UpdateI_Filter struct {
// contains filtered or unexported fields
}
func (*UpdateI_Filter) Descriptor
deprecated
func (*UpdateI_Filter) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Filter.ProtoReflect.Descriptor instead.
func (*UpdateI_Filter) ProtoMessage ¶
func (*UpdateI_Filter) ProtoMessage()
func (*UpdateI_Filter) ProtoReflect ¶
func (x *UpdateI_Filter) ProtoReflect() protoreflect.Message
func (*UpdateI_Filter) Reset ¶
func (x *UpdateI_Filter) Reset()
func (*UpdateI_Filter) String ¶
func (x *UpdateI_Filter) String() string
type UpdateI_Object ¶
type UpdateI_Object struct { Intern *UpdateI_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *UpdateI_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` Symbol *UpdateI_Object_Symbol `protobuf:"bytes,300,opt,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
func (*UpdateI_Object) Descriptor
deprecated
func (*UpdateI_Object) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Object.ProtoReflect.Descriptor instead.
func (*UpdateI_Object) GetIntern ¶
func (x *UpdateI_Object) GetIntern() *UpdateI_Object_Intern
func (*UpdateI_Object) GetPublic ¶
func (x *UpdateI_Object) GetPublic() *UpdateI_Object_Public
func (*UpdateI_Object) GetSymbol ¶
func (x *UpdateI_Object) GetSymbol() *UpdateI_Object_Symbol
func (*UpdateI_Object) ProtoMessage ¶
func (*UpdateI_Object) ProtoMessage()
func (*UpdateI_Object) ProtoReflect ¶
func (x *UpdateI_Object) ProtoReflect() protoreflect.Message
func (*UpdateI_Object) Reset ¶
func (x *UpdateI_Object) Reset()
func (*UpdateI_Object) String ¶
func (x *UpdateI_Object) String() string
type UpdateI_Object_Intern ¶
type UpdateI_Object_Intern struct { // id is the ID of the post object being updated. Id string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateI_Object_Intern) Descriptor
deprecated
func (*UpdateI_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Object_Intern.ProtoReflect.Descriptor instead.
func (*UpdateI_Object_Intern) GetId ¶ added in v0.1.1
func (x *UpdateI_Object_Intern) GetId() string
func (*UpdateI_Object_Intern) ProtoMessage ¶
func (*UpdateI_Object_Intern) ProtoMessage()
func (*UpdateI_Object_Intern) ProtoReflect ¶
func (x *UpdateI_Object_Intern) ProtoReflect() protoreflect.Message
func (*UpdateI_Object_Intern) Reset ¶
func (x *UpdateI_Object_Intern) Reset()
func (*UpdateI_Object_Intern) String ¶
func (x *UpdateI_Object_Intern) String() string
type UpdateI_Object_Public ¶
type UpdateI_Object_Public struct { // hash is a claim's confirmed onchain transaction hash. hash must not be // updated for comments. hash can only be updated once, if its prior value was // empty. Updating hash implies that the given claim got confirmed onchain, // and with it the claim's interim lifecycle phase will not be "pending" // anymore, but instead switch to the provided desired lifecycle phase. Hash string `protobuf:"bytes,100,opt,name=hash,proto3" json:"hash,omitempty"` // meta may contain onchain arbitrary meta data. Meta string `protobuf:"bytes,200,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*UpdateI_Object_Public) Descriptor
deprecated
func (*UpdateI_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Object_Public.ProtoReflect.Descriptor instead.
func (*UpdateI_Object_Public) GetHash ¶ added in v0.1.12
func (x *UpdateI_Object_Public) GetHash() string
func (*UpdateI_Object_Public) GetMeta ¶ added in v0.1.13
func (x *UpdateI_Object_Public) GetMeta() string
func (*UpdateI_Object_Public) ProtoMessage ¶
func (*UpdateI_Object_Public) ProtoMessage()
func (*UpdateI_Object_Public) ProtoReflect ¶
func (x *UpdateI_Object_Public) ProtoReflect() protoreflect.Message
func (*UpdateI_Object_Public) Reset ¶
func (x *UpdateI_Object_Public) Reset()
func (*UpdateI_Object_Public) String ¶
func (x *UpdateI_Object_Public) String() string
type UpdateI_Object_Symbol ¶
type UpdateI_Object_Symbol struct {
// contains filtered or unexported fields
}
func (*UpdateI_Object_Symbol) Descriptor
deprecated
func (*UpdateI_Object_Symbol) Descriptor() ([]byte, []int)
Deprecated: Use UpdateI_Object_Symbol.ProtoReflect.Descriptor instead.
func (*UpdateI_Object_Symbol) ProtoMessage ¶
func (*UpdateI_Object_Symbol) ProtoMessage()
func (*UpdateI_Object_Symbol) ProtoReflect ¶
func (x *UpdateI_Object_Symbol) ProtoReflect() protoreflect.Message
func (*UpdateI_Object_Symbol) Reset ¶
func (x *UpdateI_Object_Symbol) Reset()
func (*UpdateI_Object_Symbol) String ¶
func (x *UpdateI_Object_Symbol) String() string
type UpdateO ¶
type UpdateO struct { Filter *UpdateO_Filter `protobuf:"bytes,100,opt,name=filter,proto3" json:"filter,omitempty"` Object []*UpdateO_Object `protobuf:"bytes,200,rep,name=object,proto3" json:"object,omitempty"` // contains filtered or unexported fields }
UpdateO is the output for updating posts.
{ "object": [ { "intern": { "status": "updated" } } ] }
func (*UpdateO) Descriptor
deprecated
func (*UpdateO) GetFilter ¶
func (x *UpdateO) GetFilter() *UpdateO_Filter
func (*UpdateO) GetObject ¶
func (x *UpdateO) GetObject() []*UpdateO_Object
func (*UpdateO) ProtoMessage ¶
func (*UpdateO) ProtoMessage()
func (*UpdateO) ProtoReflect ¶
func (x *UpdateO) ProtoReflect() protoreflect.Message
type UpdateO_Filter ¶
type UpdateO_Filter struct {
// contains filtered or unexported fields
}
func (*UpdateO_Filter) Descriptor
deprecated
func (*UpdateO_Filter) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_Filter.ProtoReflect.Descriptor instead.
func (*UpdateO_Filter) ProtoMessage ¶
func (*UpdateO_Filter) ProtoMessage()
func (*UpdateO_Filter) ProtoReflect ¶
func (x *UpdateO_Filter) ProtoReflect() protoreflect.Message
func (*UpdateO_Filter) Reset ¶
func (x *UpdateO_Filter) Reset()
func (*UpdateO_Filter) String ¶
func (x *UpdateO_Filter) String() string
type UpdateO_Object ¶
type UpdateO_Object struct { Intern *UpdateO_Object_Intern `protobuf:"bytes,100,opt,name=intern,proto3" json:"intern,omitempty"` Public *UpdateO_Object_Public `protobuf:"bytes,200,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*UpdateO_Object) Descriptor
deprecated
func (*UpdateO_Object) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_Object.ProtoReflect.Descriptor instead.
func (*UpdateO_Object) GetIntern ¶
func (x *UpdateO_Object) GetIntern() *UpdateO_Object_Intern
func (*UpdateO_Object) GetPublic ¶
func (x *UpdateO_Object) GetPublic() *UpdateO_Object_Public
func (*UpdateO_Object) ProtoMessage ¶
func (*UpdateO_Object) ProtoMessage()
func (*UpdateO_Object) ProtoReflect ¶
func (x *UpdateO_Object) ProtoReflect() protoreflect.Message
func (*UpdateO_Object) Reset ¶
func (x *UpdateO_Object) Reset()
func (*UpdateO_Object) String ¶
func (x *UpdateO_Object) String() string
type UpdateO_Object_Intern ¶
type UpdateO_Object_Intern struct { // status is the resource status upon successful post modification. Status string `protobuf:"bytes,100,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*UpdateO_Object_Intern) Descriptor
deprecated
func (*UpdateO_Object_Intern) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_Object_Intern.ProtoReflect.Descriptor instead.
func (*UpdateO_Object_Intern) GetStatus ¶
func (x *UpdateO_Object_Intern) GetStatus() string
func (*UpdateO_Object_Intern) ProtoMessage ¶
func (*UpdateO_Object_Intern) ProtoMessage()
func (*UpdateO_Object_Intern) ProtoReflect ¶
func (x *UpdateO_Object_Intern) ProtoReflect() protoreflect.Message
func (*UpdateO_Object_Intern) Reset ¶
func (x *UpdateO_Object_Intern) Reset()
func (*UpdateO_Object_Intern) String ¶
func (x *UpdateO_Object_Intern) String() string
type UpdateO_Object_Public ¶
type UpdateO_Object_Public struct {
// contains filtered or unexported fields
}
func (*UpdateO_Object_Public) Descriptor
deprecated
func (*UpdateO_Object_Public) Descriptor() ([]byte, []int)
Deprecated: Use UpdateO_Object_Public.ProtoReflect.Descriptor instead.
func (*UpdateO_Object_Public) ProtoMessage ¶
func (*UpdateO_Object_Public) ProtoMessage()
func (*UpdateO_Object_Public) ProtoReflect ¶
func (x *UpdateO_Object_Public) ProtoReflect() protoreflect.Message
func (*UpdateO_Object_Public) Reset ¶
func (x *UpdateO_Object_Public) Reset()
func (*UpdateO_Object_Public) String ¶
func (x *UpdateO_Object_Public) String() string