v0

package
v0.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientTokenRequestType_name = map[int32]string{
		0: "REQUEST_UNKNOWN",
		1: "REQUEST_CLIENT_DATA_REQUEST",
		2: "REQUEST_CHALLENGE_ANSWERS_REQUEST",
	}
	ClientTokenRequestType_value = map[string]int32{
		"REQUEST_UNKNOWN":                   0,
		"REQUEST_CLIENT_DATA_REQUEST":       1,
		"REQUEST_CHALLENGE_ANSWERS_REQUEST": 2,
	}
)

Enum value maps for ClientTokenRequestType.

View Source
var (
	ClientTokenResponseType_name = map[int32]string{
		0: "RESPONSE_UNKNOWN",
		1: "RESPONSE_GRANTED_TOKEN_RESPONSE",
		2: "RESPONSE_CHALLENGES_RESPONSE",
	}
	ClientTokenResponseType_value = map[string]int32{
		"RESPONSE_UNKNOWN":                0,
		"RESPONSE_GRANTED_TOKEN_RESPONSE": 1,
		"RESPONSE_CHALLENGES_RESPONSE":    2,
	}
)

Enum value maps for ClientTokenResponseType.

View Source
var (
	ChallengeType_name = map[int32]string{
		0: "CHALLENGE_UNKNOWN",
		1: "CHALLENGE_CLIENT_SECRET_HMAC",
		2: "CHALLENGE_EVALUATE_JS",
		3: "CHALLENGE_HASH_CASH",
	}
	ChallengeType_value = map[string]int32{
		"CHALLENGE_UNKNOWN":            0,
		"CHALLENGE_CLIENT_SECRET_HMAC": 1,
		"CHALLENGE_EVALUATE_JS":        2,
		"CHALLENGE_HASH_CASH":          3,
	}
)

Enum value maps for ChallengeType.

View Source
var File_clienttoken_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	Type ChallengeType `protobuf:"varint,1,opt,name=type,proto3,enum=spotify.clienttoken.http.v0.ChallengeType" json:"type,omitempty"`
	// Types that are assignable to Parameters:
	//
	//	*Challenge_ClientSecretParameters
	//	*Challenge_EvaluateJsParameters
	//	*Challenge_EvaluateHashcashParameters
	Parameters isChallenge_Parameters `protobuf_oneof:"parameters"`
	// contains filtered or unexported fields
}

func (*Challenge) Descriptor deprecated

func (*Challenge) Descriptor() ([]byte, []int)

Deprecated: Use Challenge.ProtoReflect.Descriptor instead.

func (*Challenge) GetClientSecretParameters

func (x *Challenge) GetClientSecretParameters() *ClientSecretParameters

func (*Challenge) GetEvaluateHashcashParameters

func (x *Challenge) GetEvaluateHashcashParameters() *HashCashParameters

func (*Challenge) GetEvaluateJsParameters

func (x *Challenge) GetEvaluateJsParameters() *EvaluateJSParameters

func (*Challenge) GetParameters

func (m *Challenge) GetParameters() isChallenge_Parameters

func (*Challenge) GetType

func (x *Challenge) GetType() ChallengeType

func (*Challenge) ProtoMessage

func (*Challenge) ProtoMessage()

func (*Challenge) ProtoReflect

func (x *Challenge) ProtoReflect() protoreflect.Message

func (*Challenge) Reset

func (x *Challenge) Reset()

func (*Challenge) String

func (x *Challenge) String() string

type ChallengeAnswer

type ChallengeAnswer struct {
	ChallengeType ChallengeType `` /* 127-byte string literal not displayed */
	// Types that are assignable to Answer:
	//
	//	*ChallengeAnswer_ClientSecret
	//	*ChallengeAnswer_EvaluateJs
	//	*ChallengeAnswer_HashCash
	Answer isChallengeAnswer_Answer `protobuf_oneof:"answer"`
	// contains filtered or unexported fields
}

func (*ChallengeAnswer) Descriptor deprecated

func (*ChallengeAnswer) Descriptor() ([]byte, []int)

Deprecated: Use ChallengeAnswer.ProtoReflect.Descriptor instead.

func (*ChallengeAnswer) GetAnswer

func (m *ChallengeAnswer) GetAnswer() isChallengeAnswer_Answer

func (*ChallengeAnswer) GetChallengeType

func (x *ChallengeAnswer) GetChallengeType() ChallengeType

func (*ChallengeAnswer) GetClientSecret

func (x *ChallengeAnswer) GetClientSecret() *ClientSecretHMACAnswer

func (*ChallengeAnswer) GetEvaluateJs

func (x *ChallengeAnswer) GetEvaluateJs() *EvaluateJSAnswer

func (*ChallengeAnswer) GetHashCash

func (x *ChallengeAnswer) GetHashCash() *HashCashAnswer

func (*ChallengeAnswer) ProtoMessage

func (*ChallengeAnswer) ProtoMessage()

func (*ChallengeAnswer) ProtoReflect

func (x *ChallengeAnswer) ProtoReflect() protoreflect.Message

func (*ChallengeAnswer) Reset

func (x *ChallengeAnswer) Reset()

func (*ChallengeAnswer) String

func (x *ChallengeAnswer) String() string

type ChallengeAnswer_ClientSecret

type ChallengeAnswer_ClientSecret struct {
	ClientSecret *ClientSecretHMACAnswer `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3,oneof"`
}

type ChallengeAnswer_EvaluateJs

type ChallengeAnswer_EvaluateJs struct {
	EvaluateJs *EvaluateJSAnswer `protobuf:"bytes,3,opt,name=evaluate_js,json=evaluateJs,proto3,oneof"`
}

type ChallengeAnswer_HashCash

type ChallengeAnswer_HashCash struct {
	HashCash *HashCashAnswer `protobuf:"bytes,4,opt,name=hash_cash,json=hashCash,proto3,oneof"`
}

type ChallengeAnswersRequest

type ChallengeAnswersRequest struct {
	State   string             `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Answers []*ChallengeAnswer `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"`
	// contains filtered or unexported fields
}

func (*ChallengeAnswersRequest) Descriptor deprecated

func (*ChallengeAnswersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChallengeAnswersRequest.ProtoReflect.Descriptor instead.

func (*ChallengeAnswersRequest) GetAnswers

func (x *ChallengeAnswersRequest) GetAnswers() []*ChallengeAnswer

func (*ChallengeAnswersRequest) GetState

func (x *ChallengeAnswersRequest) GetState() string

func (*ChallengeAnswersRequest) ProtoMessage

func (*ChallengeAnswersRequest) ProtoMessage()

func (*ChallengeAnswersRequest) ProtoReflect

func (x *ChallengeAnswersRequest) ProtoReflect() protoreflect.Message

func (*ChallengeAnswersRequest) Reset

func (x *ChallengeAnswersRequest) Reset()

func (*ChallengeAnswersRequest) String

func (x *ChallengeAnswersRequest) String() string

type ChallengeType

type ChallengeType int32
const (
	ChallengeType_CHALLENGE_UNKNOWN            ChallengeType = 0
	ChallengeType_CHALLENGE_CLIENT_SECRET_HMAC ChallengeType = 1
	ChallengeType_CHALLENGE_EVALUATE_JS        ChallengeType = 2
	ChallengeType_CHALLENGE_HASH_CASH          ChallengeType = 3
)

func (ChallengeType) Descriptor

func (ChallengeType) Enum

func (x ChallengeType) Enum() *ChallengeType

func (ChallengeType) EnumDescriptor deprecated

func (ChallengeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChallengeType.Descriptor instead.

func (ChallengeType) Number

func (ChallengeType) String

func (x ChallengeType) String() string

func (ChallengeType) Type

type Challenge_ClientSecretParameters

type Challenge_ClientSecretParameters struct {
	ClientSecretParameters *ClientSecretParameters `protobuf:"bytes,2,opt,name=client_secret_parameters,json=clientSecretParameters,proto3,oneof"`
}

type Challenge_EvaluateHashcashParameters

type Challenge_EvaluateHashcashParameters struct {
	EvaluateHashcashParameters *HashCashParameters `protobuf:"bytes,4,opt,name=evaluate_hashcash_parameters,json=evaluateHashcashParameters,proto3,oneof"`
}

type Challenge_EvaluateJsParameters

type Challenge_EvaluateJsParameters struct {
	EvaluateJsParameters *EvaluateJSParameters `protobuf:"bytes,3,opt,name=evaluate_js_parameters,json=evaluateJsParameters,proto3,oneof"`
}

type ChallengesResponse

type ChallengesResponse struct {
	State      string       `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Challenges []*Challenge `protobuf:"bytes,2,rep,name=challenges,proto3" json:"challenges,omitempty"`
	// contains filtered or unexported fields
}

func (*ChallengesResponse) Descriptor deprecated

func (*ChallengesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChallengesResponse.ProtoReflect.Descriptor instead.

func (*ChallengesResponse) GetChallenges

func (x *ChallengesResponse) GetChallenges() []*Challenge

func (*ChallengesResponse) GetState

func (x *ChallengesResponse) GetState() string

func (*ChallengesResponse) ProtoMessage

func (*ChallengesResponse) ProtoMessage()

func (*ChallengesResponse) ProtoReflect

func (x *ChallengesResponse) ProtoReflect() protoreflect.Message

func (*ChallengesResponse) Reset

func (x *ChallengesResponse) Reset()

func (*ChallengesResponse) String

func (x *ChallengesResponse) String() string

type ClientDataRequest

type ClientDataRequest struct {
	ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	ClientId      string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Types that are assignable to Data:
	//
	//	*ClientDataRequest_ConnectivitySdkData
	Data isClientDataRequest_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*ClientDataRequest) Descriptor deprecated

func (*ClientDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClientDataRequest.ProtoReflect.Descriptor instead.

func (*ClientDataRequest) GetClientId

func (x *ClientDataRequest) GetClientId() string

func (*ClientDataRequest) GetClientVersion

func (x *ClientDataRequest) GetClientVersion() string

func (*ClientDataRequest) GetConnectivitySdkData

func (x *ClientDataRequest) GetConnectivitySdkData() *v0.ConnectivitySdkData

func (*ClientDataRequest) GetData

func (m *ClientDataRequest) GetData() isClientDataRequest_Data

func (*ClientDataRequest) ProtoMessage

func (*ClientDataRequest) ProtoMessage()

func (*ClientDataRequest) ProtoReflect

func (x *ClientDataRequest) ProtoReflect() protoreflect.Message

func (*ClientDataRequest) Reset

func (x *ClientDataRequest) Reset()

func (*ClientDataRequest) String

func (x *ClientDataRequest) String() string

type ClientDataRequest_ConnectivitySdkData

type ClientDataRequest_ConnectivitySdkData struct {
	ConnectivitySdkData *v0.ConnectivitySdkData `protobuf:"bytes,3,opt,name=connectivity_sdk_data,json=connectivitySdkData,proto3,oneof"`
}

type ClientSecretHMACAnswer

type ClientSecretHMACAnswer struct {
	Hmac string `protobuf:"bytes,1,opt,name=hmac,proto3" json:"hmac,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientSecretHMACAnswer) Descriptor deprecated

func (*ClientSecretHMACAnswer) Descriptor() ([]byte, []int)

Deprecated: Use ClientSecretHMACAnswer.ProtoReflect.Descriptor instead.

func (*ClientSecretHMACAnswer) GetHmac

func (x *ClientSecretHMACAnswer) GetHmac() string

func (*ClientSecretHMACAnswer) ProtoMessage

func (*ClientSecretHMACAnswer) ProtoMessage()

func (*ClientSecretHMACAnswer) ProtoReflect

func (x *ClientSecretHMACAnswer) ProtoReflect() protoreflect.Message

func (*ClientSecretHMACAnswer) Reset

func (x *ClientSecretHMACAnswer) Reset()

func (*ClientSecretHMACAnswer) String

func (x *ClientSecretHMACAnswer) String() string

type ClientSecretParameters

type ClientSecretParameters struct {
	Salt string `protobuf:"bytes,1,opt,name=salt,proto3" json:"salt,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientSecretParameters) Descriptor deprecated

func (*ClientSecretParameters) Descriptor() ([]byte, []int)

Deprecated: Use ClientSecretParameters.ProtoReflect.Descriptor instead.

func (*ClientSecretParameters) GetSalt

func (x *ClientSecretParameters) GetSalt() string

func (*ClientSecretParameters) ProtoMessage

func (*ClientSecretParameters) ProtoMessage()

func (*ClientSecretParameters) ProtoReflect

func (x *ClientSecretParameters) ProtoReflect() protoreflect.Message

func (*ClientSecretParameters) Reset

func (x *ClientSecretParameters) Reset()

func (*ClientSecretParameters) String

func (x *ClientSecretParameters) String() string

type ClientTokenBadRequest

type ClientTokenBadRequest struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientTokenBadRequest) Descriptor deprecated

func (*ClientTokenBadRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClientTokenBadRequest.ProtoReflect.Descriptor instead.

func (*ClientTokenBadRequest) GetMessage

func (x *ClientTokenBadRequest) GetMessage() string

func (*ClientTokenBadRequest) ProtoMessage

func (*ClientTokenBadRequest) ProtoMessage()

func (*ClientTokenBadRequest) ProtoReflect

func (x *ClientTokenBadRequest) ProtoReflect() protoreflect.Message

func (*ClientTokenBadRequest) Reset

func (x *ClientTokenBadRequest) Reset()

func (*ClientTokenBadRequest) String

func (x *ClientTokenBadRequest) String() string

type ClientTokenRequest

type ClientTokenRequest struct {
	RequestType ClientTokenRequestType `` /* 151-byte string literal not displayed */
	// Types that are assignable to Request:
	//
	//	*ClientTokenRequest_ClientData
	//	*ClientTokenRequest_ChallengeAnswers
	Request isClientTokenRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*ClientTokenRequest) Descriptor deprecated

func (*ClientTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClientTokenRequest.ProtoReflect.Descriptor instead.

func (*ClientTokenRequest) GetChallengeAnswers

func (x *ClientTokenRequest) GetChallengeAnswers() *ChallengeAnswersRequest

func (*ClientTokenRequest) GetClientData

func (x *ClientTokenRequest) GetClientData() *ClientDataRequest

func (*ClientTokenRequest) GetRequest

func (m *ClientTokenRequest) GetRequest() isClientTokenRequest_Request

func (*ClientTokenRequest) GetRequestType

func (x *ClientTokenRequest) GetRequestType() ClientTokenRequestType

func (*ClientTokenRequest) ProtoMessage

func (*ClientTokenRequest) ProtoMessage()

func (*ClientTokenRequest) ProtoReflect

func (x *ClientTokenRequest) ProtoReflect() protoreflect.Message

func (*ClientTokenRequest) Reset

func (x *ClientTokenRequest) Reset()

func (*ClientTokenRequest) String

func (x *ClientTokenRequest) String() string

type ClientTokenRequestType

type ClientTokenRequestType int32
const (
	ClientTokenRequestType_REQUEST_UNKNOWN                   ClientTokenRequestType = 0
	ClientTokenRequestType_REQUEST_CLIENT_DATA_REQUEST       ClientTokenRequestType = 1
	ClientTokenRequestType_REQUEST_CHALLENGE_ANSWERS_REQUEST ClientTokenRequestType = 2
)

func (ClientTokenRequestType) Descriptor

func (ClientTokenRequestType) Enum

func (ClientTokenRequestType) EnumDescriptor deprecated

func (ClientTokenRequestType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientTokenRequestType.Descriptor instead.

func (ClientTokenRequestType) Number

func (ClientTokenRequestType) String

func (x ClientTokenRequestType) String() string

func (ClientTokenRequestType) Type

type ClientTokenRequest_ChallengeAnswers

type ClientTokenRequest_ChallengeAnswers struct {
	ChallengeAnswers *ChallengeAnswersRequest `protobuf:"bytes,3,opt,name=challenge_answers,json=challengeAnswers,proto3,oneof"`
}

type ClientTokenRequest_ClientData

type ClientTokenRequest_ClientData struct {
	ClientData *ClientDataRequest `protobuf:"bytes,2,opt,name=client_data,json=clientData,proto3,oneof"`
}

type ClientTokenResponse

type ClientTokenResponse struct {
	ResponseType ClientTokenResponseType `` /* 155-byte string literal not displayed */
	// Types that are assignable to Response:
	//
	//	*ClientTokenResponse_GrantedToken
	//	*ClientTokenResponse_Challenges
	Response isClientTokenResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*ClientTokenResponse) Descriptor deprecated

func (*ClientTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClientTokenResponse.ProtoReflect.Descriptor instead.

func (*ClientTokenResponse) GetChallenges

func (x *ClientTokenResponse) GetChallenges() *ChallengesResponse

func (*ClientTokenResponse) GetGrantedToken

func (x *ClientTokenResponse) GetGrantedToken() *GrantedTokenResponse

func (*ClientTokenResponse) GetResponse

func (m *ClientTokenResponse) GetResponse() isClientTokenResponse_Response

func (*ClientTokenResponse) GetResponseType

func (x *ClientTokenResponse) GetResponseType() ClientTokenResponseType

func (*ClientTokenResponse) ProtoMessage

func (*ClientTokenResponse) ProtoMessage()

func (*ClientTokenResponse) ProtoReflect

func (x *ClientTokenResponse) ProtoReflect() protoreflect.Message

func (*ClientTokenResponse) Reset

func (x *ClientTokenResponse) Reset()

func (*ClientTokenResponse) String

func (x *ClientTokenResponse) String() string

type ClientTokenResponseType

type ClientTokenResponseType int32
const (
	ClientTokenResponseType_RESPONSE_UNKNOWN                ClientTokenResponseType = 0
	ClientTokenResponseType_RESPONSE_GRANTED_TOKEN_RESPONSE ClientTokenResponseType = 1
	ClientTokenResponseType_RESPONSE_CHALLENGES_RESPONSE    ClientTokenResponseType = 2
)

func (ClientTokenResponseType) Descriptor

func (ClientTokenResponseType) Enum

func (ClientTokenResponseType) EnumDescriptor deprecated

func (ClientTokenResponseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClientTokenResponseType.Descriptor instead.

func (ClientTokenResponseType) Number

func (ClientTokenResponseType) String

func (x ClientTokenResponseType) String() string

func (ClientTokenResponseType) Type

type ClientTokenResponse_Challenges

type ClientTokenResponse_Challenges struct {
	Challenges *ChallengesResponse `protobuf:"bytes,3,opt,name=challenges,proto3,oneof"`
}

type ClientTokenResponse_GrantedToken

type ClientTokenResponse_GrantedToken struct {
	GrantedToken *GrantedTokenResponse `protobuf:"bytes,2,opt,name=granted_token,json=grantedToken,proto3,oneof"`
}

type EvaluateJSAnswer

type EvaluateJSAnswer struct {
	Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateJSAnswer) Descriptor deprecated

func (*EvaluateJSAnswer) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateJSAnswer.ProtoReflect.Descriptor instead.

func (*EvaluateJSAnswer) GetResult

func (x *EvaluateJSAnswer) GetResult() string

func (*EvaluateJSAnswer) ProtoMessage

func (*EvaluateJSAnswer) ProtoMessage()

func (*EvaluateJSAnswer) ProtoReflect

func (x *EvaluateJSAnswer) ProtoReflect() protoreflect.Message

func (*EvaluateJSAnswer) Reset

func (x *EvaluateJSAnswer) Reset()

func (*EvaluateJSAnswer) String

func (x *EvaluateJSAnswer) String() string

type EvaluateJSParameters

type EvaluateJSParameters struct {
	Code      string   `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Libraries []string `protobuf:"bytes,2,rep,name=libraries,proto3" json:"libraries,omitempty"`
	// contains filtered or unexported fields
}

func (*EvaluateJSParameters) Descriptor deprecated

func (*EvaluateJSParameters) Descriptor() ([]byte, []int)

Deprecated: Use EvaluateJSParameters.ProtoReflect.Descriptor instead.

func (*EvaluateJSParameters) GetCode

func (x *EvaluateJSParameters) GetCode() string

func (*EvaluateJSParameters) GetLibraries

func (x *EvaluateJSParameters) GetLibraries() []string

func (*EvaluateJSParameters) ProtoMessage

func (*EvaluateJSParameters) ProtoMessage()

func (*EvaluateJSParameters) ProtoReflect

func (x *EvaluateJSParameters) ProtoReflect() protoreflect.Message

func (*EvaluateJSParameters) Reset

func (x *EvaluateJSParameters) Reset()

func (*EvaluateJSParameters) String

func (x *EvaluateJSParameters) String() string

type GrantedTokenResponse

type GrantedTokenResponse struct {
	Token               string         `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ExpiresAfterSeconds int32          `protobuf:"varint,2,opt,name=expires_after_seconds,json=expiresAfterSeconds,proto3" json:"expires_after_seconds,omitempty"`
	RefreshAfterSeconds int32          `protobuf:"varint,3,opt,name=refresh_after_seconds,json=refreshAfterSeconds,proto3" json:"refresh_after_seconds,omitempty"`
	Domains             []*TokenDomain `protobuf:"bytes,4,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantedTokenResponse) Descriptor deprecated

func (*GrantedTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use GrantedTokenResponse.ProtoReflect.Descriptor instead.

func (*GrantedTokenResponse) GetDomains

func (x *GrantedTokenResponse) GetDomains() []*TokenDomain

func (*GrantedTokenResponse) GetExpiresAfterSeconds

func (x *GrantedTokenResponse) GetExpiresAfterSeconds() int32

func (*GrantedTokenResponse) GetRefreshAfterSeconds

func (x *GrantedTokenResponse) GetRefreshAfterSeconds() int32

func (*GrantedTokenResponse) GetToken

func (x *GrantedTokenResponse) GetToken() string

func (*GrantedTokenResponse) ProtoMessage

func (*GrantedTokenResponse) ProtoMessage()

func (*GrantedTokenResponse) ProtoReflect

func (x *GrantedTokenResponse) ProtoReflect() protoreflect.Message

func (*GrantedTokenResponse) Reset

func (x *GrantedTokenResponse) Reset()

func (*GrantedTokenResponse) String

func (x *GrantedTokenResponse) String() string

type HashCashAnswer

type HashCashAnswer struct {
	Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"`
	// contains filtered or unexported fields
}

func (*HashCashAnswer) Descriptor deprecated

func (*HashCashAnswer) Descriptor() ([]byte, []int)

Deprecated: Use HashCashAnswer.ProtoReflect.Descriptor instead.

func (*HashCashAnswer) GetSuffix

func (x *HashCashAnswer) GetSuffix() string

func (*HashCashAnswer) ProtoMessage

func (*HashCashAnswer) ProtoMessage()

func (*HashCashAnswer) ProtoReflect

func (x *HashCashAnswer) ProtoReflect() protoreflect.Message

func (*HashCashAnswer) Reset

func (x *HashCashAnswer) Reset()

func (*HashCashAnswer) String

func (x *HashCashAnswer) String() string

type HashCashParameters

type HashCashParameters struct {
	Length int32  `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*HashCashParameters) Descriptor deprecated

func (*HashCashParameters) Descriptor() ([]byte, []int)

Deprecated: Use HashCashParameters.ProtoReflect.Descriptor instead.

func (*HashCashParameters) GetLength

func (x *HashCashParameters) GetLength() int32

func (*HashCashParameters) GetPrefix

func (x *HashCashParameters) GetPrefix() string

func (*HashCashParameters) ProtoMessage

func (*HashCashParameters) ProtoMessage()

func (*HashCashParameters) ProtoReflect

func (x *HashCashParameters) ProtoReflect() protoreflect.Message

func (*HashCashParameters) Reset

func (x *HashCashParameters) Reset()

func (*HashCashParameters) String

func (x *HashCashParameters) String() string

type TokenDomain

type TokenDomain struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenDomain) Descriptor deprecated

func (*TokenDomain) Descriptor() ([]byte, []int)

Deprecated: Use TokenDomain.ProtoReflect.Descriptor instead.

func (*TokenDomain) GetDomain

func (x *TokenDomain) GetDomain() string

func (*TokenDomain) ProtoMessage

func (*TokenDomain) ProtoMessage()

func (*TokenDomain) ProtoReflect

func (x *TokenDomain) ProtoReflect() protoreflect.Message

func (*TokenDomain) Reset

func (x *TokenDomain) Reset()

func (*TokenDomain) String

func (x *TokenDomain) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL