Documentation
¶
Index ¶
- type AudiusdSDK
- func (s *AudiusdSDK) Address() string
- func (s *AudiusdSDK) PrivKey() *ecdsa.PrivateKey
- func (s *AudiusdSDK) Pubkey() *ecdsa.PublicKey
- func (s *AudiusdSDK) ReadPrivKey(path string) error
- func (s *AudiusdSDK) RecoverSigner(msg []byte, signature string) (string, error)
- func (s *AudiusdSDK) ReleaseTrack(ctx context.Context, cid, title, genre string) (*ReleaseResult, error)
- func (s *AudiusdSDK) SetPrivKey(privKey *ecdsa.PrivateKey)
- func (s *AudiusdSDK) Sign(msg []byte) (string, error)
- type ReleaseResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudiusdSDK ¶
type AudiusdSDK struct { Core corev1connect.CoreServiceClient Storage storagev1connect.StorageServiceClient ETL etlv1connect.ETLServiceClient System systemv1connect.SystemServiceClient Eth ethv1connect.EthServiceClient // contains filtered or unexported fields }
func NewAudiusdSDK ¶
func NewAudiusdSDK(nodeURL string) *AudiusdSDK
func (*AudiusdSDK) Address ¶
func (s *AudiusdSDK) Address() string
func (*AudiusdSDK) PrivKey ¶
func (s *AudiusdSDK) PrivKey() *ecdsa.PrivateKey
func (*AudiusdSDK) Pubkey ¶
func (s *AudiusdSDK) Pubkey() *ecdsa.PublicKey
func (*AudiusdSDK) ReadPrivKey ¶
func (s *AudiusdSDK) ReadPrivKey(path string) error
func (*AudiusdSDK) RecoverSigner ¶
func (s *AudiusdSDK) RecoverSigner(msg []byte, signature string) (string, error)
func (*AudiusdSDK) ReleaseTrack ¶
func (s *AudiusdSDK) ReleaseTrack(ctx context.Context, cid, title, genre string) (*ReleaseResult, error)
func (*AudiusdSDK) SetPrivKey ¶
func (s *AudiusdSDK) SetPrivKey(privKey *ecdsa.PrivateKey)
type ReleaseResult ¶
Click to show internal directories.
Click to hide internal directories.