You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/s21platform/avatar-proto

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/s21platform/avatar-proto

v0.0.11
Source
Go
Version published
Created
Source

Protocol Documentation

Table of Contents

Top

avatar.proto

Avatar

FieldTypeLabelDescription
idint32
linkstring

DeleteSocietyAvatarIn

FieldTypeLabelDescription
avatar_idint32

DeleteUserAvatarIn

FieldTypeLabelDescription
avatar_idint32

GetAllSocietyAvatarsIn

FieldTypeLabelDescription
uuidstring

GetAllSocietyAvatarsOut

FieldTypeLabelDescription
avatar_listAvatarrepeated

GetAllUserAvatarsIn

FieldTypeLabelDescription
uuidstring

GetAllUserAvatarsOut

FieldTypeLabelDescription
avatar_listAvatarrepeated

SetSocietyAvatarIn

FieldTypeLabelDescription
uuidstring
filenamestring
batchbytes

SetSocietyAvatarOut

FieldTypeLabelDescription
linkstring

SetUserAvatarIn

FieldTypeLabelDescription
uuidstring
filenamestring
batchbytes

SetUserAvatarOut

FieldTypeLabelDescription
linkstring

AvatarService

Method NameRequest TypeResponse TypeDescription
SetUserAvatarSetUserAvatarIn streamSetUserAvatarOut
GetAllUserAvatarsGetAllUserAvatarsInGetAllUserAvatarsOut
DeleteUserAvatarDeleteUserAvatarInAvatar
SetSocietyAvatarSetSocietyAvatarIn streamSetSocietyAvatarOut
GetAllSocietyAvatarsGetAllSocietyAvatarsInGetAllSocietyAvatarsOut
DeleteSocietyAvatarDeleteSocietyAvatarInAvatar

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)

FAQs

Package last updated on 19 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.