github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/grpcwrapper/rawtopic/rawtopiccommon/update_token.go (about)

     1  package rawtopiccommon
     2  
     3  import "github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Topic"
     4  
     5  type UpdateTokenRequest struct {
     6  	Token string
     7  }
     8  
     9  func (r *UpdateTokenRequest) ToProto() *Ydb_Topic.UpdateTokenRequest {
    10  	return &Ydb_Topic.UpdateTokenRequest{
    11  		Token: r.Token,
    12  	}
    13  }
    14  
    15  type UpdateTokenResponse struct{}
    16  
    17  func (r *UpdateTokenResponse) MustFromProto(p *Ydb_Topic.UpdateTokenResponse) {
    18  	// do nothing
    19  }