@autorest/go
Version:
AutoRest Go Generator
22 lines • 789 B
TypeScript
import * as go from '../../../codemodel.go/src/index.js';
export declare class RequiredHelpers {
getHeaderValue: boolean;
getOptional: boolean;
initServer: boolean;
parseOptional: boolean;
parseWithCast: boolean;
readRequestBody: boolean;
splitHelper: boolean;
tracker: boolean;
constructor();
}
/**
* Generates the content for the required fake helpers in fake/internal.go.
* while exported, this isn't called outside of src/fake.
*
* @param pkg contains the package content
* @param requiredHelpers contains data about the helpers to emit
* @returns the text for the file or the empty string
*/
export declare function generateServerInternal(pkg: go.FakePackage, requiredHelpers: RequiredHelpers): string;
//# sourceMappingURL=internal.d.ts.map