Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestConfig ¶
type ResponseConfig ¶
type ResponseConfig struct { Comment []string Define string Print []string Loop *LoopSpec WriteFile *WriteFileSpec }
type Sample ¶
type Sample struct { ID string `yaml:"id"` Title string RegionTag string `yaml:"region_tag"` Description string Service string Rpc string CallingPatterns []string `yaml:"calling_patterns"` Request []RequestConfig Response []ResponseConfig SampleType []string `yaml:"sample_type"` }
func (*Sample) IsDocSample ¶ added in v0.9.8
IsDocSample returns true iff s.SampleType specifies s should generate in-code (language doc) samples.
func (*Sample) IsStandaloneSample ¶ added in v0.9.8
IsStandaloneSample returns true iff s.SampleType specifies s should generate standalone samples.
type SampleConfig ¶
type WriteFileSpec ¶
Click to show internal directories.
Click to hide internal directories.