Package cloud.google.com/go/pubsublite/publish (v0.5.0)

  type 
  
 Metadata 
  
 struct 
  
 { 
  
 Partition 
  
  int 
 
  
 Offset 
  
  int64 
 
 } 
 

Metadata holds the results of a published message.

  func 
  
 ParseMetadata 
 ( 
 input 
  
  string 
 
 ) 
  
 ( 
 * 
  Metadata 
 
 , 
  
  error 
 
 ) 
 

ParseMetadata converts a string obtained from Metadata.String() back to Metadata.

  func 
  
 ( 
 m 
  
 * 
  Metadata 
 
 ) 
  
 String 
 () 
  
  string 
 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: