Documentation ¶
Index ¶
- Variables
- func BytesToUint64(b []byte) uint64
- func Compare(a, b []byte) bool
- func EventEqual(existVal, valVal *v1.CloudEvent) bool
- func EventEqualWithBytes(a, b []byte) (bool, error)
- func FormatKeyWithEvent(event *v1.CloudEvent) []byte
- func FormatKeyWithEventGetRequest(get *v1.EventGetRequest) []byte
- func FormatKeyWithRequest(request *v1.CloudEventStoreRequest) ([]byte, error)
- func Hash(s []*v1.CloudEvent) []byte
- func Uint64ToBytes(u uint64) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var EventExists = fmt.Errorf("CloudEvents exists")
Functions ¶
func EventEqual ¶
func EventEqual(existVal, valVal *v1.CloudEvent) bool
func EventEqualWithBytes ¶
func FormatKeyWithEvent ¶
func FormatKeyWithEvent(event *v1.CloudEvent) []byte
func FormatKeyWithEventGetRequest ¶
func FormatKeyWithEventGetRequest(get *v1.EventGetRequest) []byte
func FormatKeyWithRequest ¶
func FormatKeyWithRequest(request *v1.CloudEventStoreRequest) ([]byte, error)
func Hash ¶
func Hash(s []*v1.CloudEvent) []byte
func Uint64ToBytes ¶
Uint64ToBytes Converts a uint to a byte slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.