Documentation ¶
Index ¶
- Variables
- func HMACWithSHA1(vals Values, key string) string
- func HMACWithSHA256(vals Values, key string) string
- func MD5(vals Values, key string) string
- func ProtoHMACWithSHA1(msg proto.Message, key string) string
- func ProtoHMACWithSHA256(msg proto.Message, key string) string
- func ProtoMD5(msg proto.Message, key string) string
- func ProtoSHA1(msg proto.Message, key string) string
- func ProtoSHA256(msg proto.Message, key string) string
- func SHA1(vals Values, key string) string
- func SHA256(vals Values, key string) string
- type Bar
- type Foo
- func (*Foo) Descriptor() ([]byte, []int)deprecated
- func (x *Foo) GetX1() []string
- func (x *Foo) GetX2() string
- func (x *Foo) GetX3() int32
- func (x *Foo) GetX4() map[string]string
- func (x *Foo) GetX5Xyz() string
- func (*Foo) ProtoMessage()
- func (x *Foo) ProtoReflect() protoreflect.Message
- func (x *Foo) Reset()
- func (x *Foo) String() string
- type KV
- type Values
Constants ¶
This section is empty.
Variables ¶
View Source
var File_test_proto protoreflect.FileDescriptor
Functions ¶
func HMACWithSHA1 ¶
func HMACWithSHA256 ¶
Types ¶
type Bar ¶
type Bar struct { X2 string `protobuf:"bytes,2,opt,name=x2,proto3" json:"x2,omitempty"` X3 int32 `protobuf:"varint,3,opt,name=x3,proto3" json:"x3,omitempty"` // contains filtered or unexported fields }
func (*Bar) Descriptor
deprecated
func (*Bar) ProtoMessage ¶
func (*Bar) ProtoMessage()
func (*Bar) ProtoReflect ¶
func (x *Bar) ProtoReflect() protoreflect.Message
type Foo ¶
type Foo struct { X1 []string `protobuf:"bytes,1,rep,name=x1,proto3" json:"x1,omitempty"` X2 string `protobuf:"bytes,2,opt,name=x2,proto3" json:"x2,omitempty"` X3 int32 `protobuf:"varint,3,opt,name=x3,proto3" json:"x3,omitempty"` X4 map[string]string `` /* 145-byte string literal not displayed */ X5Xyz string `protobuf:"bytes,5,opt,name=x5_xyz,json=x5Xyz,proto3" json:"x5_xyz,omitempty"` // contains filtered or unexported fields }
func (*Foo) Descriptor
deprecated
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) ProtoReflect ¶
func (x *Foo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.