MCPcopy
hub / github.com/minio/minio-go / String

Method String

post-policy.go:414–416  ·  view source on GitHub ↗

String function for printing policy in json formatted string.

()

Source from the content-addressed store, hash-verified

412
413// String function for printing policy in json formatted string.
414func (p PostPolicy) String() string {
415 return string(p.marshalJSON())
416}
417
418// marshalJSON - Provides Marshaled JSON in bytes.
419func (p PostPolicy) marshalJSON() []byte {

Calls 1

marshalJSONMethod · 0.95

Tested by 8

TestPostPolicySetExpiresFunction · 0.76
TestPostPolicySetKeyFunction · 0.76
TestPostPolicySetBucketFunction · 0.76
TestPostPolicySetTaggingFunction · 0.76