"Fossies" - the Fresh Open Source Software Archive

Member "mattermost-server-6.0.0/vendor/gopkg.in/olivere/elastic.v6/acknowledged_response.go" (8 Oct 2021, 512 Bytes) of package /linux/www/mattermost-server-6.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Go source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright 2012-present Oliver Eilhard. All rights reserved.
    2 // Use of this source code is governed by a MIT-license.
    3 // See http://olivere.mit-license.org/license.txt for details.
    4 
    5 package elastic
    6 
    7 // AcknowledgedResponse is returned from various APIs. It simply indicates
    8 // whether the operation is ack'd or not.
    9 type AcknowledgedResponse struct {
   10     Acknowledged       bool   `json:"acknowledged"`
   11     ShardsAcknowledged bool   `json:"shards_acknowledged"`
   12     Index              string `json:"index,omitempty"`
   13 }