Documentation ¶
Overview ¶
Generators of fake byte arrays for test purpose
Index ¶
- func Cid() *cid.Cid
- func CompositionCreateCustomRequest() []byte
- func CompositionCreateRequest() []byte
- func EhrCreateCustomRequest(subjectID, subjectNamespace string) []byte
- func EhrCreateRequest() []byte
- func GetByteArray(lengthOfData int) ([]byte, error)
- func GetByteArrays(numOfData int, dataLength int) ([][]byte, error)
- func GetRandomLetter() string
- func GetRandomStringWithLength(lengthOfString int) string
- func QueryExecRequest(ehrID string) []byte
- func QueryExecResponse(query string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompositionCreateCustomRequest ¶
func CompositionCreateCustomRequest() []byte
func CompositionCreateRequest ¶
func CompositionCreateRequest() []byte
func EhrCreateCustomRequest ¶
func EhrCreateRequest ¶
func EhrCreateRequest() []byte
func GetByteArray ¶
Generate random data array for testing
func GetByteArrays ¶
Generate array of random byte arrays for testing
func GetRandomStringWithLength ¶
Get random test string with length Stole from https://github.com/jaswdr/faker/blob/master/faker.go
func QueryExecRequest ¶
func QueryExecResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.