SYMBOL INDEX (849 symbols across 147 files) FILE: app.go type App (line 15) | type App struct method Muxer (line 32) | func (a *App) Muxer() *mux.Router { function New (line 37) | func New(opts Options) *App { FILE: app_test.go function voidHandler (line 3) | func voidHandler(c Context) error { FILE: binding/bindable.go type Bindable (line 8) | type Bindable interface FILE: binding/bindable_test.go type orbison (line 11) | type orbison struct method Bind (line 15) | func (o *orbison) Bind(req *http.Request) error { function Test_Bindable (line 20) | func Test_Bindable(t *testing.T) { FILE: binding/binding.go function buildFormDecoder (line 38) | func buildFormDecoder() *formam.Decoder { function RegisterTimeFormats (line 52) | func RegisterTimeFormats(layouts ...string) { function RegisterCustomDecoder (line 58) | func RegisterCustomDecoder(fn CustomTypeDecoder, types []any, fields []a... function Register (line 65) | func Register(contentType string, fn Binder) { function Exec (line 74) | func Exec(req *http.Request, value any) error { FILE: binding/binding_test.go type blogPost (line 11) | type blogPost struct function Test_Register (line 17) | func Test_Register(t *testing.T) { function Test_RegisterCustomDecoder (line 47) | func Test_RegisterCustomDecoder(t *testing.T) { FILE: binding/decoders/decoders.go function RegisterTimeFormats (line 38) | func RegisterTimeFormats(layouts ...string) { FILE: binding/decoders/null_time.go function NullTimeDecoderFn (line 6) | func NullTimeDecoderFn() func([]string) (any, error) { FILE: binding/decoders/null_time_test.go function Test_NullTimeCustomDecoder_Decode (line 11) | func Test_NullTimeCustomDecoder_Decode(t *testing.T) { FILE: binding/decoders/parse_time.go function parseTime (line 7) | func parseTime(vals []string) (time.Time, error) { FILE: binding/decoders/time.go function TimeDecoderFn (line 4) | func TimeDecoderFn() func([]string) (any, error) { FILE: binding/decoders/time_test.go function TestParseTimeErrorParsing (line 10) | func TestParseTimeErrorParsing(t *testing.T) { function TestParseTime (line 17) | func TestParseTime(t *testing.T) { function TestParseTimeConflicting (line 52) | func TestParseTimeConflicting(t *testing.T) { FILE: binding/file.go type File (line 8) | type File struct method Valid (line 14) | func (f File) Valid() bool { method String (line 18) | func (f File) String() string { FILE: binding/file_request_type_binder.go type FileRequestTypeBinder (line 11) | type FileRequestTypeBinder struct method ContentTypes (line 16) | func (ht FileRequestTypeBinder) ContentTypes() []string { method BinderFunc (line 23) | func (ht FileRequestTypeBinder) BinderFunc() Binder { FILE: binding/file_test.go type WithFile (line 21) | type WithFile struct type NamedFileSlice (line 25) | type NamedFileSlice struct type NamedFile (line 29) | type NamedFile struct function App (line 33) | func App() *buffalo.App { function Test_File_Upload_On_Struct (line 72) | func Test_File_Upload_On_Struct(t *testing.T) { function Test_File_Upload_On_Struct_WithTag_WithMultipleFiles (line 85) | func Test_File_Upload_On_Struct_WithTag_WithMultipleFiles(t *testing.T) { function Test_File_Upload_On_Struct_WithTag (line 98) | func Test_File_Upload_On_Struct_WithTag(t *testing.T) { function Test_File_Upload_On_Context (line 111) | func Test_File_Upload_On_Context(t *testing.T) { function newFileUploadRequest (line 126) | func newFileUploadRequest(uri string, paramName string, paths ...string)... FILE: binding/html_content_type_binder.go type HTMLContentTypeBinder (line 10) | type HTMLContentTypeBinder struct method ContentTypes (line 15) | func (ht HTMLContentTypeBinder) ContentTypes() []string { method BinderFunc (line 25) | func (ht HTMLContentTypeBinder) BinderFunc() Binder { FILE: binding/json_content_type_binder.go type JSONContentTypeBinder (line 9) | type JSONContentTypeBinder struct method BinderFunc (line 12) | func (js JSONContentTypeBinder) BinderFunc() Binder { method ContentTypes (line 19) | func (js JSONContentTypeBinder) ContentTypes() []string { FILE: binding/request_binder.go type RequestBinder (line 19) | type RequestBinder struct method Register (line 26) | func (rb *RequestBinder) Register(contentType string, fn Binder) { method Exec (line 35) | func (rb *RequestBinder) Exec(req *http.Request, value any) error { function NewRequestBinder (line 58) | func NewRequestBinder(requestBinders ...ContenTypeBinder) *RequestBinder { FILE: binding/request_binder_test.go function Test_RequestBinder_Exec (line 12) | func Test_RequestBinder_Exec(t *testing.T) { function Test_RequestBinder_Exec_BlankContentType (line 30) | func Test_RequestBinder_Exec_BlankContentType(t *testing.T) { function Test_RequestBinder_Exec_Bindable (line 40) | func Test_RequestBinder_Exec_Bindable(t *testing.T) { function Test_RequestBinder_Exec_NoBinder (line 61) | func Test_RequestBinder_Exec_NoBinder(t *testing.T) { FILE: binding/types.go type ContenTypeBinder (line 8) | type ContenTypeBinder interface type Binder (line 15) | type Binder type CustomTypeDecoder (line 18) | type CustomTypeDecoder FILE: binding/xml_request_type_binder.go type XMLRequestTypeBinder (line 9) | type XMLRequestTypeBinder struct method BinderFunc (line 12) | func (xm XMLRequestTypeBinder) BinderFunc() Binder { method ContentTypes (line 19) | func (xm XMLRequestTypeBinder) ContentTypes() []string { FILE: context.go type Context (line 18) | type Context interface type ParamValues (line 41) | type ParamValues interface method newContext (line 45) | func (a *App) newContext(info RouteInfo, res http.ResponseWriter, req *h... FILE: cookies.go type Cookies (line 9) | type Cookies struct method Get (line 15) | func (c *Cookies) Get(name string) (string, error) { method Set (line 25) | func (c *Cookies) Set(name, value string, maxAge time.Duration) { method SetWithExpirationTime (line 38) | func (c *Cookies) SetWithExpirationTime(name, value string, expires ti... method SetWithPath (line 52) | func (c *Cookies) SetWithPath(name, value, path string) { method Delete (line 63) | func (c *Cookies) Delete(name string) { FILE: cookies_test.go function TestCookies_Get (line 12) | func TestCookies_Get(t *testing.T) { function TestCookies_Set (line 31) | func TestCookies_Set(t *testing.T) { function TestCookies_SetWithPath (line 43) | func TestCookies_SetWithPath(t *testing.T) { function TestCookies_SetWithExpirationTime (line 55) | func TestCookies_SetWithExpirationTime(t *testing.T) { function TestCookies_Delete (line 68) | func TestCookies_Delete(t *testing.T) { FILE: default_context.go type DefaultContext (line 31) | type DefaultContext struct method Response (line 44) | func (d *DefaultContext) Response() http.ResponseWriter { method Request (line 49) | func (d *DefaultContext) Request() *http.Request { method Params (line 55) | func (d *DefaultContext) Params() ParamValues { method Logger (line 60) | func (d *DefaultContext) Logger() Logger { method Param (line 66) | func (d *DefaultContext) Param(key string) string { method Set (line 72) | func (d *DefaultContext) Set(key string, value any) { method Value (line 82) | func (d *DefaultContext) Value(key any) any { method Session (line 98) | func (d *DefaultContext) Session() *Session { method Cookies (line 103) | func (d *DefaultContext) Cookies() *Cookies { method Flash (line 108) | func (d *DefaultContext) Flash() *Flash { method Render (line 121) | func (d *DefaultContext) Render(status int, rr render.Renderer) error { method Bind (line 179) | func (d *DefaultContext) Bind(value any) error { method LogField (line 186) | func (d *DefaultContext) LogField(key string, value any) { method LogFields (line 196) | func (d *DefaultContext) LogFields(values map[string]any) { method Error (line 203) | func (d *DefaultContext) Error(status int, err error) error { method Redirect (line 210) | func (d *DefaultContext) Redirect(status int, url string, args ...any)... method Data (line 250) | func (d *DefaultContext) Data() map[string]any { method String (line 262) | func (d *DefaultContext) String() string { method File (line 276) | func (d *DefaultContext) File(name string) (binding.File, error) { method MarshalJSON (line 290) | func (d *DefaultContext) MarshalJSON() ([]byte, error) { type paginable (line 112) | type paginable interface FILE: default_context_test.go function basicContext (line 16) | func basicContext() DefaultContext { function Test_DefaultContext_Redirect (line 25) | func Test_DefaultContext_Redirect(t *testing.T) { function Test_DefaultContext_Redirect_Helper (line 38) | func Test_DefaultContext_Redirect_Helper(t *testing.T) { function Test_DefaultContext_Param (line 79) | func Test_DefaultContext_Param(t *testing.T) { function Test_DefaultContext_Param_form (line 90) | func Test_DefaultContext_Param_form(t *testing.T) { function Test_DefaultContext_Param_Multiple (line 109) | func Test_DefaultContext_Param_Multiple(t *testing.T) { function Test_DefaultContext_GetSet (line 135) | func Test_DefaultContext_GetSet(t *testing.T) { function Test_DefaultContext_Set_not_configured (line 145) | func Test_DefaultContext_Set_not_configured(t *testing.T) { function Test_DefaultContext_Value (line 154) | func Test_DefaultContext_Value(t *testing.T) { function Test_DefaultContext_Value_not_configured (line 164) | func Test_DefaultContext_Value_not_configured(t *testing.T) { function Test_DefaultContext_Render (line 170) | func Test_DefaultContext_Render(t *testing.T) { function Test_DefaultContext_Bind_Default (line 186) | func Test_DefaultContext_Bind_Default(t *testing.T) { function Test_DefaultContext_Bind_No_ContentType (line 210) | func Test_DefaultContext_Bind_No_ContentType(t *testing.T) { function Test_DefaultContext_Bind_Empty_ContentType (line 238) | func Test_DefaultContext_Bind_Empty_ContentType(t *testing.T) { function Test_DefaultContext_Bind_Default_BlankFields (line 267) | func Test_DefaultContext_Bind_Default_BlankFields(t *testing.T) { function Test_DefaultContext_Bind_JSON (line 293) | func Test_DefaultContext_Bind_JSON(t *testing.T) { function Test_DefaultContext_Data (line 318) | func Test_DefaultContext_Data(t *testing.T) { function Test_DefaultContext_Data_not_configured (line 325) | func Test_DefaultContext_Data_not_configured(t *testing.T) { function Test_DefaultContext_String (line 332) | func Test_DefaultContext_String(t *testing.T) { function Test_DefaultContext_String_EmptyData (line 341) | func Test_DefaultContext_String_EmptyData(t *testing.T) { function Test_DefaultContext_String_EmptyData_not_configured (line 347) | func Test_DefaultContext_String_EmptyData_not_configured(t *testing.T) { function Test_DefaultContext_MarshalJSON (line 354) | func Test_DefaultContext_MarshalJSON(t *testing.T) { function Test_DefaultContext_MarshalJSON_EmptyData (line 365) | func Test_DefaultContext_MarshalJSON_EmptyData(t *testing.T) { function Test_DefaultContext_MarshalJSON_EmptyData_not_configured (line 374) | func Test_DefaultContext_MarshalJSON_EmptyData_not_configured(t *testing... FILE: errors.go type HTTPError (line 33) | type HTTPError struct method Unwrap (line 39) | func (h HTTPError) Unwrap() error { method Error (line 44) | func (h HTTPError) Error() string { type ErrorHandler (line 53) | type ErrorHandler type ErrorHandlers (line 65) | type ErrorHandlers method Get (line 70) | func (e ErrorHandlers) Get(status int) ErrorHandler { method Default (line 84) | func (e ErrorHandlers) Default(eh ErrorHandler) { method PanicHandler (line 92) | func (a *App) PanicHandler(next Handler) Handler { method defaultErrorMiddleware (line 123) | func (a *App) defaultErrorMiddleware(next Handler) Handler { function productionErrorResponseFor (line 174) | func productionErrorResponseFor(status int) []byte { type ErrorResponse (line 183) | type ErrorResponse struct constant defaultErrorCT (line 190) | defaultErrorCT = "text/html; charset=utf-8" function defaultErrorHandler (line 192) | func defaultErrorHandler(status int, origErr error, c Context) error { function errorResponseDefault (line 279) | func errorResponseDefault(defaultResponse, alternativeResponse *ErrorRes... type inspectHeaders (line 286) | type inspectHeaders method String (line 288) | func (i inspectHeaders) String() string { FILE: errors_test.go type testLoggerHook (line 17) | type testLoggerHook struct method Fire (line 21) | func (lh *testLoggerHook) Fire(entry *logrus.Entry) error { method Levels (line 26) | func (lh *testLoggerHook) Levels() []logrus.Level { function Test_defaultErrorHandler_SetsContentType (line 32) | func Test_defaultErrorHandler_SetsContentType(t *testing.T) { function Test_defaultErrorHandler_Logger (line 46) | func Test_defaultErrorHandler_Logger(t *testing.T) { function Test_defaultErrorHandler_JSON_development (line 68) | func Test_defaultErrorHandler_JSON_development(t *testing.T) { function Test_defaultErrorHandler_XML_development (line 72) | func Test_defaultErrorHandler_XML_development(t *testing.T) { function Test_defaultErrorHandler_JSON_staging (line 76) | func Test_defaultErrorHandler_JSON_staging(t *testing.T) { function Test_defaultErrorHandler_XML_staging (line 80) | func Test_defaultErrorHandler_XML_staging(t *testing.T) { function Test_defaultErrorHandler_JSON_production (line 84) | func Test_defaultErrorHandler_JSON_production(t *testing.T) { function Test_defaultErrorHandler_XML_production (line 88) | func Test_defaultErrorHandler_XML_production(t *testing.T) { function testDefaultErrorHandler (line 92) | func testDefaultErrorHandler(t *testing.T, contentType, env string) { function Test_defaultErrorHandler_nil_error (line 139) | func Test_defaultErrorHandler_nil_error(t *testing.T) { function Test_PanicHandler (line 151) | func Test_PanicHandler(t *testing.T) { function Test_defaultErrorMiddleware (line 185) | func Test_defaultErrorMiddleware(t *testing.T) { function Test_SetErrorMiddleware (line 213) | func Test_SetErrorMiddleware(t *testing.T) { FILE: events.go constant EvtAppStart (line 14) | EvtAppStart = "buffalo:app:start" constant EvtAppStartErr (line 16) | EvtAppStartErr = "buffalo:app:start:err" constant EvtAppStop (line 19) | EvtAppStop = "buffalo:app:stop" constant EvtAppStopErr (line 21) | EvtAppStopErr = "buffalo:app:stop:err" constant EvtRouteStarted (line 24) | EvtRouteStarted = "buffalo:route:started" constant EvtRouteFinished (line 26) | EvtRouteFinished = "buffalo:route:finished" constant EvtRouteErr (line 28) | EvtRouteErr = "buffalo:route:err" constant EvtServerStart (line 31) | EvtServerStart = "buffalo:server:start" constant EvtServerStartErr (line 33) | EvtServerStartErr = "buffalo:server:start:err" constant EvtServerStop (line 35) | EvtServerStop = "buffalo:server:stop" constant EvtServerStopErr (line 37) | EvtServerStopErr = "buffalo:server:stop:err" constant EvtWorkerStart (line 40) | EvtWorkerStart = "buffalo:worker:start" constant EvtWorkerStartErr (line 42) | EvtWorkerStartErr = "buffalo:worker:start:err" constant EvtWorkerStop (line 44) | EvtWorkerStop = "buffalo:worker:stop" constant EvtWorkerStopErr (line 46) | EvtWorkerStopErr = "buffalo:worker:stop:err" constant EvtFailureErr (line 49) | EvtFailureErr = "buffalo:failure:err" FILE: flash.go constant flashKey (line 6) | flashKey = "_flash_" type Flash (line 9) | type Flash struct method Delete (line 14) | func (f Flash) Delete(key string) { method Clear (line 19) | func (f *Flash) Clear() { method Set (line 24) | func (f Flash) Set(key string, values []string) { method Add (line 29) | func (f Flash) Add(key, value string) { method persist (line 39) | func (f Flash) persist(session *Session) { function newFlash (line 45) | func newFlash(session *Session) *Flash { FILE: flash_test.go function Test_FlashAdd (line 13) | func Test_FlashAdd(t *testing.T) { function Test_FlashRender (line 30) | func Test_FlashRender(t *testing.T) { function Test_FlashRenderEmpty (line 49) | func Test_FlashRenderEmpty(t *testing.T) { constant errorsTPL (line 64) | errorsTPL = ` function Test_FlashRenderEntireFlash (line 71) | func Test_FlashRenderEntireFlash(t *testing.T) { constant keyTPL (line 86) | keyTPL = `<%= for (k, v) in flash { %> function Test_FlashRenderCustomKey (line 92) | func Test_FlashRenderCustomKey(t *testing.T) { function Test_FlashRenderCustomKeyNotDefined (line 107) | func Test_FlashRenderCustomKeyNotDefined(t *testing.T) { constant customKeyTPL (line 121) | customKeyTPL = ` function Test_FlashNotClearedOnRedirect (line 127) | func Test_FlashNotClearedOnRedirect(t *testing.T) { FILE: fs.go type FS (line 15) | type FS struct method Open (line 38) | func (f FS) Open(name string) (fs.File, error) { method getFile (line 56) | func (f FS) getFile(name string) (fs.File, error) { function NewFS (line 22) | func NewFS(embed fs.ReadDirFS, dir string) FS { type rootFile (line 66) | type rootFile struct method ReadDir (line 71) | func (f rootFile) ReadDir(n int) (entries []fs.DirEntry, err error) { function hideEmbedFile (line 82) | func hideEmbedFile(entries []fs.DirEntry) []fs.DirEntry { FILE: fs_test.go function Test_FS_Disallows_Parent_Folders (line 12) | func Test_FS_Disallows_Parent_Folders(t *testing.T) { function Test_FS_Hides_embed_go (line 27) | func Test_FS_Hides_embed_go(t *testing.T) { function Test_FS_Prioritizes_Disk (line 38) | func Test_FS_Prioritizes_Disk(t *testing.T) { function Test_FS_Uses_Embed_If_No_Disk (line 62) | func Test_FS_Uses_Embed_If_No_Disk(t *testing.T) { function Test_FS_ReadDirFile (line 86) | func Test_FS_ReadDirFile(t *testing.T) { FILE: handler.go type Handler (line 22) | type Handler FILE: home.go type Home (line 25) | type Home struct FILE: internal/defaults/defaults.go function String (line 3) | func String(s1, s2 string) string { function Int (line 10) | func Int(i1, i2 int) int { function Int64 (line 17) | func Int64(i1, i2 int64) int64 { function Float32 (line 24) | func Float32(i1, i2 float32) float32 { function Float64 (line 31) | func Float64(i1, i2 float64) float64 { FILE: internal/defaults/defaults_test.go function Test_String (line 9) | func Test_String(t *testing.T) { function Test_Int (line 18) | func Test_Int(t *testing.T) { function Test_Int64 (line 27) | func Test_Int64(t *testing.T) { function Test_Float32 (line 36) | func Test_Float32(t *testing.T) { function Test_Float64 (line 45) | func Test_Float64(t *testing.T) { FILE: internal/env/env.go function Load (line 16) | func Load(filenames ...string) error { function Get (line 22) | func Get(key, fallback string) string { function MustGet (line 31) | func MustGet(key string) (string, error) { function Environ (line 40) | func Environ() []string { function GoPath (line 46) | func GoPath() string { function Set (line 55) | func Set(key, value string) { function Temp (line 61) | func Temp(f func()) { FILE: internal/fakesmtp/connection.go type Connection (line 10) | type Connection struct method write (line 19) | func (c *Connection) write(s string) { method read (line 25) | func (c *Connection) read() string { FILE: internal/fakesmtp/server.go type Server (line 16) | type Server struct method Start (line 23) | func (s *Server) Start(port string) error { method Handle (line 41) | func (s *Server) Handle(c *Connection) { method readHello (line 56) | func (s *Server) readHello(c *Connection) { method readSender (line 65) | func (s *Server) readSender(c *Connection) { method readRecipients (line 72) | func (s *Server) readRecipients(c *Connection) { method readData (line 86) | func (s *Server) readData(c *Connection) { method addMessageLine (line 102) | func (s *Server) addMessageLine(text string) { method LastMessage (line 107) | func (s *Server) LastMessage() string { method Messages (line 116) | func (s *Server) Messages() []string { method Clear (line 121) | func (s *Server) Clear() { function New (line 129) | func New(port string) (*Server, error) { FILE: internal/httpx/content_type.go function ContentType (line 10) | func ContentType(req *http.Request) string { FILE: internal/httpx/content_type_test.go function Test_ContentType (line 10) | func Test_ContentType(t *testing.T) { FILE: internal/meta/meta.go type BuildTags (line 12) | type BuildTags type App (line 15) | type App struct function New (line 24) | func New(root string) App { FILE: internal/meta/meta_test.go function Test_New_Defaults (line 11) | func Test_New_Defaults(t *testing.T) { function Test_New_With_DatabaseYML (line 22) | func Test_New_With_DatabaseYML(t *testing.T) { function Test_New_With_TOML (line 34) | func Test_New_With_TOML(t *testing.T) { function Test_New_TOML_Priority_Over_DatabaseYML (line 50) | func Test_New_TOML_Priority_Over_DatabaseYML(t *testing.T) { function Test_New_No_Files (line 71) | func Test_New_No_Files(t *testing.T) { FILE: internal/nulls/nulls.go type Time (line 11) | type Time struct method Scan (line 17) | func (t *Time) Scan(value any) error { method Parse (line 35) | func (t *Time) Parse(s string) error { method Value (line 56) | func (t Time) Value() (driver.Value, error) { method UnmarshalJSON (line 64) | func (t *Time) UnmarshalJSON(data []byte) error { method MarshalJSON (line 76) | func (t Time) MarshalJSON() ([]byte, error) { method String (line 84) | func (t Time) String() string { function NewTime (line 93) | func NewTime(t time.Time) Time { FILE: internal/testdata/embedded/embed.go function FS (line 10) | func FS() embed.FS { FILE: mail/attachment.go type Attachment (line 6) | type Attachment struct FILE: mail/body.go type Body (line 4) | type Body struct FILE: mail/dialer.go type Dialer (line 17) | type Dialer struct method dial (line 60) | func (d *Dialer) dial() (sendCloser, error) { method tlsConfig (line 127) | func (d *Dialer) tlsConfig() *tls.Config { method dialAndSend (line 169) | func (d *Dialer) dialAndSend(m ...*smtpMessage) error { function newDialer (line 43) | func newDialer(host string, port int, username, password string) *Dialer { type StartTLSPolicy (line 136) | type StartTLSPolicy method String (line 144) | func (policy *StartTLSPolicy) String() string { constant opportunisticStartTLS (line 139) | opportunisticStartTLS StartTLSPolicy = iota constant mandatoryStartTLS (line 140) | mandatoryStartTLS constant noStartTLS (line 141) | noStartTLS = -1 type startTLSUnsupportedError (line 157) | type startTLSUnsupportedError struct method Error (line 161) | func (e startTLSUnsupportedError) Error() string { function addr (line 165) | func addr(host string, port int) string { type smtpSender (line 185) | type smtpSender struct method retryError (line 191) | func (c *smtpSender) retryError(err error) bool { method Send (line 203) | func (c *smtpSender) Send(from string, to []string, msg io.WriterTo) e... method Close (line 241) | func (c *smtpSender) Close() error { type smtpClient (line 253) | type smtpClient interface type sendCloser (line 265) | type sendCloser interface type sender (line 270) | type sender interface FILE: mail/mail.go function NewMessage (line 24) | func NewMessage() Message { function NewFromData (line 34) | func NewFromData(data render.Data) Message { function New (line 41) | func New(c buffalo.Context) Message { FILE: mail/mail_test.go function Test_NewFromData (line 14) | func Test_NewFromData(t *testing.T) { function Test_New (line 22) | func Test_New(t *testing.T) { FILE: mail/message.go type Message (line 14) | type Message struct method merge (line 28) | func (m *Message) merge(data render.Data) render.Data { method AddBody (line 39) | func (m *Message) AddBody(r render.Renderer, data render.Data) error { method AddBodies (line 57) | func (m *Message) AddBodies(data render.Data, renderers ...render.Rend... method AddAttachment (line 69) | func (m *Message) AddAttachment(name, contentType string, r io.Reader)... method AddEmbedded (line 82) | func (m *Message) AddEmbedded(name string, r io.Reader) error { method SetHeader (line 93) | func (m *Message) SetHeader(field, value string) { FILE: mail/sender.go type Sender (line 4) | type Sender interface type BatchSender (line 10) | type BatchSender interface FILE: mail/smtp_auth.go type loginAuth (line 14) | type loginAuth struct method Start (line 20) | func (a *loginAuth) Start(server *smtp.ServerInfo) (string, []byte, er... method Next (line 32) | func (a *loginAuth) Next(fromServer []byte, more bool) ([]byte, error) { FILE: mail/smtp_errors.go type sendError (line 10) | type sendError struct method Error (line 16) | func (err *sendError) Error() string { FILE: mail/smtp_message.go type smtpMessage (line 15) | type smtpMessage struct method applySettings (line 53) | func (m *smtpMessage) applySettings(settings []messageSetting) { method setHeader (line 69) | func (m *smtpMessage) setHeader(field string, value ...string) { method encodeHeader (line 74) | func (m *smtpMessage) encodeHeader(values []string) { method encodeString (line 80) | func (m *smtpMessage) encodeString(value string) string { method setBody (line 84) | func (m *smtpMessage) setBody(contentType, body string, settings ...pa... method setBodyWriter (line 88) | func (m *smtpMessage) setBodyWriter(contentType string, f func(io.Writ... method addAlternative (line 92) | func (m *smtpMessage) addAlternative(contentType, body string, setting... method addAlternativeWriter (line 103) | func (m *smtpMessage) addAlternativeWriter(contentType string, f func(... method newPart (line 107) | func (m *smtpMessage) newPart(contentType string, f func(io.Writer) er... method attach (line 147) | func (m *smtpMessage) attach(filename string, settings ...fileSetting) { method embed (line 151) | func (m *smtpMessage) embed(filename string, settings ...fileSetting) { method formatDate (line 173) | func (m *smtpMessage) formatDate(date time.Time) string { method appendFile (line 177) | func (m *smtpMessage) appendFile(list []*file, f *file, settings []fil... type smtpHeader (line 27) | type smtpHeader type part (line 29) | type part struct function newSMTPMessage (line 35) | func newSMTPMessage(settings ...messageSetting) *smtpMessage { type messageSetting (line 59) | type messageSetting type encoding (line 61) | type encoding constant encodingQuotedPrintable (line 64) | encodingQuotedPrintable encoding = "quoted-printable" constant encodingBase64 (line 65) | encodingBase64 encoding = "base64" constant encodingUnencoded (line 66) | encodingUnencoded encoding = "8bit" function newCopier (line 96) | func newCopier(s string) func(io.Writer) error { type partSetting (line 121) | type partSetting function setPartEncoding (line 123) | func setPartEncoding(e encoding) partSetting { type file (line 129) | type file struct method setHeader (line 135) | func (f *file) setHeader(field, value string) { type fileSetting (line 139) | type fileSetting function setCopyFunc (line 141) | func setCopyFunc(f func(io.Writer) error) fileSetting { function fileFromFilename (line 155) | func fileFromFilename(name string) *file { FILE: mail/smtp_mime.go type mimeEncoder (line 14) | type mimeEncoder struct FILE: mail/smtp_send.go function sendSMTP (line 13) | func sendSMTP(s sender, msg ...*smtpMessage) []error { function sendSingle (line 24) | func sendSingle(s sender, m *smtpMessage) error { method getFrom (line 42) | func (m *smtpMessage) getFrom() (string, error) { method getRecipients (line 54) | func (m *smtpMessage) getRecipients() ([]string, error) { function addAddress (line 78) | func addAddress(list []string, addr string) []string { function parseAddress (line 85) | func parseAddress(field string) (string, error) { FILE: mail/smtp_sender.go type SMTPSender (line 10) | type SMTPSender struct method Send (line 16) | func (sm SMTPSender) Send(message Message) error { method SendBatch (line 22) | func (sm SMTPSender) SendBatch(messages ...Message) (errorsByMessages ... method prepareMessage (line 36) | func (sm SMTPSender) prepareMessage(message Message) *smtpMessage { method addBodies (line 55) | func (sm SMTPSender) addBodies(message Message, gm *smtpMessage) { method addAttachments (line 69) | func (sm SMTPSender) addAttachments(message Message, gm *smtpMessage) { function NewSMTPSender (line 88) | func NewSMTPSender(host string, port string, user string, password strin... FILE: mail/smtp_sender_test.go constant smtpPort (line 17) | smtpPort = "2002" function init (line 19) | func init() { function TestSendPlain (line 27) | func TestSendPlain(t *testing.T) { FILE: mail/smtp_writeto.go method WriteTo (line 17) | func (m *smtpMessage) WriteTo(w io.Writer) (int64, error) { method hasMixedPart (line 61) | func (m *smtpMessage) hasMixedPart() bool { method hasRelatedPart (line 65) | func (m *smtpMessage) hasRelatedPart() bool { method hasAlternativePart (line 69) | func (m *smtpMessage) hasAlternativePart() bool { type messageWriter (line 73) | type messageWriter struct method writeMessage (line 23) | func (w *messageWriter) writeMessage(m *smtpMessage) { method openMultipart (line 82) | func (w *messageWriter) openMultipart(mimeType, boundary string) { method createPart (line 101) | func (w *messageWriter) createPart(h map[string][]string) { method closeMultipart (line 105) | func (w *messageWriter) closeMultipart() { method writePart (line 112) | func (w *messageWriter) writePart(p *part, charset string) { method addFiles (line 120) | func (w *messageWriter) addFiles(files []*file, isAttachment bool) { method Write (line 154) | func (w *messageWriter) Write(p []byte) (int, error) { method writeString (line 165) | func (w *messageWriter) writeString(s string) { method writeHeader (line 174) | func (w *messageWriter) writeHeader(k string, v ...string) { method writeLine (line 211) | func (w *messageWriter) writeLine(s string, charsLeft int) string { method writeHeaders (line 241) | func (w *messageWriter) writeHeaders(h map[string][]string) { method writeBody (line 253) | func (w *messageWriter) writeBody(f func(io.Writer) error, enc encodin... constant maxLineLen (line 275) | maxLineLen = 76 type base64LineWriter (line 277) | type base64LineWriter struct method Write (line 286) | func (w *base64LineWriter) Write(p []byte) (int, error) { function newBase64LineWriter (line 282) | func newBase64LineWriter(w io.Writer) *base64LineWriter { FILE: method_override.go function MethodOverride (line 15) | func MethodOverride(res http.ResponseWriter, req *http.Request) { FILE: method_override_test.go function Test_MethodOverride (line 13) | func Test_MethodOverride(t *testing.T) { FILE: middleware.go type MiddlewareFunc (line 24) | type MiddlewareFunc constant funcKeyDelimeter (line 26) | funcKeyDelimeter = ":" method Use (line 32) | func (a *App) Use(mw ...MiddlewareFunc) { type MiddlewareStack (line 37) | type MiddlewareStack struct method String (line 42) | func (ms MiddlewareStack) String() string { method clone (line 51) | func (ms *MiddlewareStack) clone() *MiddlewareStack { method Clear (line 61) | func (ms *MiddlewareStack) Clear() { method Use (line 70) | func (ms *MiddlewareStack) Use(mw ...MiddlewareFunc) { method Remove (line 79) | func (ms *MiddlewareStack) Remove(mws ...MiddlewareFunc) { method Skip (line 104) | func (ms *MiddlewareStack) Skip(mw MiddlewareFunc, handlers ...Handler) { method Replace (line 113) | func (ms *MiddlewareStack) Replace(mw1 MiddlewareFunc, mw2 MiddlewareF... method handler (line 154) | func (ms *MiddlewareStack) handler(info RouteInfo) Handler { function assertMiddleware (line 136) | func assertMiddleware(handler Handler) Handler { function newMiddlewareStack (line 176) | func newMiddlewareStack(mws ...MiddlewareFunc) *MiddlewareStack { function funcKey (line 183) | func funcKey(funcs ...any) string { function ptrName (line 208) | func ptrName(ptr uintptr) string { function setFuncKey (line 218) | func setFuncKey(f any, name string) { FILE: middleware_test.go function Test_App_Use (line 14) | func Test_App_Use(t *testing.T) { function Test_Middleware_Replace (line 40) | func Test_Middleware_Replace(t *testing.T) { function Test_Middleware_Skip (line 76) | func Test_Middleware_Skip(t *testing.T) { type carsResource (line 126) | type carsResource struct method Show (line 130) | func (ur *carsResource) Show(c Context) error { method List (line 134) | func (ur *carsResource) List(c Context) error { function Test_Middleware_Skip_Resource (line 139) | func Test_Middleware_Skip_Resource(t *testing.T) { function Test_Middleware_Clear (line 188) | func Test_Middleware_Clear(t *testing.T) { function Test_Middleware_Remove (line 204) | func Test_Middleware_Remove(t *testing.T) { function Test_AssertMiddleware_NilStatus200 (line 247) | func Test_AssertMiddleware_NilStatus200(t *testing.T) { FILE: not_found_test.go function Test_App_Dev_NotFound (line 12) | func Test_App_Dev_NotFound(t *testing.T) { function Test_App_Dev_NotFound_JSON (line 28) | func Test_App_Dev_NotFound_JSON(t *testing.T) { function Test_App_Override_NotFound (line 45) | func Test_App_Override_NotFound(t *testing.T) { FILE: options.go type Options (line 17) | type Options struct type PreWare (line 77) | type PreWare function NewOptions (line 80) | func NewOptions() Options { function optionsWithDefaults (line 84) | func optionsWithDefaults(opts Options) Options { FILE: options_test.go function TestOptions_NewOptions (line 12) | func TestOptions_NewOptions(t *testing.T) { FILE: plugins/cache.go type cachedPlugin (line 16) | type cachedPlugin struct type cachedPlugins (line 21) | type cachedPlugins function findInCache (line 53) | func findInCache(path string) (cachedPlugin, bool) { function saveCache (line 60) | func saveCache() error { function sum (line 74) | func sum(path string) string { function addToCache (line 90) | func addToCache(path string, cp cachedPlugin) { FILE: plugins/command.go type Command (line 4) | type Command struct type Commands (line 21) | type Commands FILE: plugins/decorate.go function Decorate (line 19) | func Decorate(c Command) *cobra.Command { function LookPath (line 62) | func LookPath(s string) (string, error) { FILE: plugins/events.go constant EvtSetupStarted (line 4) | EvtSetupStarted = "buffalo-plugins:setup:started" constant EvtSetupErr (line 5) | EvtSetupErr = "buffalo-plugins:setup:err" constant EvtSetupFinished (line 6) | EvtSetupFinished = "buffalo-plugins:setup:finished" FILE: plugins/log.go function log (line 5) | func log(_ string, fn func() error) error { FILE: plugins/log_debug.go function log (line 10) | func log(name string, fn func() error) error { FILE: plugins/plugcmds/available.go function NewAvailable (line 15) | func NewAvailable() *Available { type Available (line 23) | type Available struct method Cmd (line 39) | func (a *Available) Cmd() *cobra.Command { method Commands (line 50) | func (a *Available) Commands() []*cobra.Command { method Add (line 67) | func (a *Available) Add(bufCmd string, cmd *cobra.Command) error { method Mount (line 91) | func (a *Available) Mount(cmd *cobra.Command) { method Encode (line 102) | func (a *Available) Encode(w io.Writer) error { method Listen (line 114) | func (a *Available) Listen(fn func(e events.Event) error) error { method ListenFor (line 120) | func (a *Available) ListenFor(rx string, fn func(e events.Event) error... type plug (line 27) | type plug struct method String (line 33) | func (p plug) String() string { function buildListen (line 138) | func buildListen(fn func(e events.Event) error) *cobra.Command { FILE: plugins/plugcmds/available_test.go function Test_Available_Add (line 13) | func Test_Available_Add(t *testing.T) { function Test_Available_Encode (line 27) | func Test_Available_Encode(t *testing.T) { function Test_Available_Listen (line 45) | func Test_Available_Listen(t *testing.T) { FILE: plugins/plugcmds/plug_map.go type plugMap (line 14) | type plugMap struct method Delete (line 19) | func (m *plugMap) Delete(key string) { method Load (line 27) | func (m *plugMap) Load(key string) (plug, bool) { method LoadOrStore (line 38) | func (m *plugMap) LoadOrStore(key string, value plug) (plug, bool) { method Range (line 45) | func (m *plugMap) Range(f func(key string, value plug) bool) { method Store (line 60) | func (m *plugMap) Store(key string, value plug) { method Keys (line 65) | func (m *plugMap) Keys() []string { FILE: plugins/plugcmds/plug_map_test.go function Test_plugMap (line 12) | func Test_plugMap(t *testing.T) { FILE: plugins/plugdeps/command.go type Command (line 6) | type Command struct method String (line 13) | func (p Command) String() string { FILE: plugins/plugdeps/plugdeps.go function List (line 19) | func List(app meta.App) (*Plugins, error) { function listLocal (line 47) | func listLocal(app meta.App) (*Plugins, error) { function ConfigPath (line 76) | func ConfigPath(app meta.App) string { function On (line 83) | func On(app meta.App) bool { FILE: plugins/plugdeps/plugdeps_test.go function Test_ConfigPath (line 27) | func Test_ConfigPath(t *testing.T) { function Test_List_Off (line 34) | func Test_List_Off(t *testing.T) { function Test_List_On (line 44) | func Test_List_On(t *testing.T) { constant eToml (line 61) | eToml = `[[plugin]] FILE: plugins/plugdeps/plugin.go type Plugin (line 10) | type Plugin struct method String (line 19) | func (p Plugin) String() string { method key (line 24) | func (p Plugin) key() string { FILE: plugins/plugdeps/plugins.go type Plugins (line 13) | type Plugins struct method Encode (line 19) | func (plugs *Plugins) Encode(w io.Writer) error { method Decode (line 31) | func (plugs *Plugins) Decode(r io.Reader) error { method List (line 45) | func (plugs *Plugins) List() []Plugin { method Add (line 63) | func (plugs *Plugins) Add(pp ...Plugin) { method Remove (line 72) | func (plugs *Plugins) Remove(pp ...Plugin) { function New (line 81) | func New() *Plugins { type tomlPlugins (line 89) | type tomlPlugins struct FILE: plugins/plugdeps/plugins_test.go function Test_Plugins_Encode (line 12) | func Test_Plugins_Encode(t *testing.T) { function Test_Plugins_Decode (line 28) | func Test_Plugins_Decode(t *testing.T) { function Test_Plugins_Remove (line 43) | func Test_Plugins_Remove(t *testing.T) { FILE: plugins/plugins.go constant timeoutEnv (line 22) | timeoutEnv = "BUFFALO_PLUGIN_TIMEOUT" type List (line 42) | type List function Available (line 64) | func Available() (List, error) { function askBin (line 140) | func askBin(ctx context.Context, path string) Commands { function ignorePath (line 184) | func ignorePath(p string) bool { function listPlugDeps (line 194) | func listPlugDeps(app meta.App) (List, error) { FILE: plugins/plugins_test.go function TestAskBin_respectsTimeout (line 14) | func TestAskBin_respectsTimeout(t *testing.T) { FILE: render/auto.go type ErrRedirect (line 20) | type ErrRedirect struct method Error (line 25) | func (ErrRedirect) Error() string { function Auto (line 44) | func Auto(ctx context.Context, i any) Renderer { method Auto (line 64) | func (e *Engine) Auto(ctx context.Context, i any) Renderer { type htmlAutoRenderer (line 85) | type htmlAutoRenderer struct method ContentType (line 90) | func (htmlAutoRenderer) ContentType() string { method Render (line 94) | func (ir htmlAutoRenderer) Render(w io.Writer, data Data) error { method redirect (line 152) | func (ir htmlAutoRenderer) redirect(name name.Ident, w io.Writer, data... method typeName (line 193) | func (ir htmlAutoRenderer) typeName() string { method isPlural (line 205) | func (ir htmlAutoRenderer) isPlural() bool { FILE: render/auto_test.go type Car (line 15) | type Car struct type Cars (line 20) | type Cars function Test_Auto_DefaultContentType (line 22) | func Test_Auto_DefaultContentType(t *testing.T) { function Test_Auto_JSON (line 41) | func Test_Auto_JSON(t *testing.T) { function Test_Auto_XML (line 56) | func Test_Auto_XML(t *testing.T) { function Test_Auto_HTML_List (line 71) | func Test_Auto_HTML_List(t *testing.T) { function Test_Auto_HTML_List_Plural (line 98) | func Test_Auto_HTML_List_Plural(t *testing.T) { function Test_Auto_HTML_Show (line 132) | func Test_Auto_HTML_Show(t *testing.T) { function Test_Auto_HTML_New (line 156) | func Test_Auto_HTML_New(t *testing.T) { function Test_Auto_HTML_Create (line 180) | func Test_Auto_HTML_Create(t *testing.T) { function Test_Auto_HTML_Create_Redirect (line 204) | func Test_Auto_HTML_Create_Redirect(t *testing.T) { function Test_Auto_HTML_Create_Redirect_Error (line 221) | func Test_Auto_HTML_Create_Redirect_Error(t *testing.T) { function Test_Auto_HTML_Create_Nested_Redirect (line 249) | func Test_Auto_HTML_Create_Nested_Redirect(t *testing.T) { function Test_Auto_HTML_Destroy_Nested_Redirect (line 267) | func Test_Auto_HTML_Destroy_Nested_Redirect(t *testing.T) { function Test_Auto_HTML_Edit (line 285) | func Test_Auto_HTML_Edit(t *testing.T) { function Test_Auto_HTML_Update (line 309) | func Test_Auto_HTML_Update(t *testing.T) { function Test_Auto_HTML_Update_Redirect (line 334) | func Test_Auto_HTML_Update_Redirect(t *testing.T) { function Test_Auto_HTML_Update_Redirect_Error (line 352) | func Test_Auto_HTML_Update_Redirect_Error(t *testing.T) { function Test_Auto_HTML_Destroy_Redirect (line 381) | func Test_Auto_HTML_Destroy_Redirect(t *testing.T) { function Test_Auto_HTML_List_Plural_MultiWord (line 399) | func Test_Auto_HTML_List_Plural_MultiWord(t *testing.T) { function Test_Auto_HTML_List_Plural_MultiWord_Dashed (line 433) | func Test_Auto_HTML_List_Plural_MultiWord_Dashed(t *testing.T) { function Test_Auto_HTML_Show_MultiWord_Dashed (line 467) | func Test_Auto_HTML_Show_MultiWord_Dashed(t *testing.T) { FILE: render/download.go type downloadRenderer (line 13) | type downloadRenderer struct method ContentType (line 19) | func (r downloadRenderer) ContentType() string { method Render (line 29) | func (r downloadRenderer) Render(w io.Writer, d Data) error { function Download (line 65) | func Download(ctx context.Context, name string, r io.Reader) Renderer { method Download (line 89) | func (e *Engine) Download(ctx context.Context, name string, r io.Reader)... type responsible (line 93) | type responsible interface FILE: render/download_test.go type dlRenderer (line 15) | type dlRenderer type dlContext (line 17) | type dlContext struct method Response (line 22) | func (c dlContext) Response() http.ResponseWriter { function Test_Download_KnownExtension (line 28) | func Test_Download_KnownExtension(t *testing.T) { function Test_Download_UnknownExtension (line 51) | func Test_Download_UnknownExtension(t *testing.T) { function Test_InvalidContext (line 73) | func Test_InvalidContext(t *testing.T) { FILE: render/func.go type RendererFunc (line 7) | type RendererFunc type funcRenderer (line 9) | type funcRenderer struct method ContentType (line 16) | func (s funcRenderer) ContentType() string { method Render (line 22) | func (s funcRenderer) Render(w io.Writer, data Data) error { function Func (line 29) | func Func(s string, fn RendererFunc) Renderer { method Func (line 39) | func (e *Engine) Func(s string, fn RendererFunc) Renderer { FILE: render/func_test.go function Test_Func (line 11) | func Test_Func(t *testing.T) { FILE: render/helpers.go function init (line 13) | func init() { FILE: render/html.go function HTML (line 17) | func HTML(names ...string) Renderer { method HTML (line 31) | func (e *Engine) HTML(names ...string) Renderer { function MDTemplateEngine (line 52) | func MDTemplateEngine(input string, data map[string]any, helpers map[str... FILE: render/html_test.go constant htmlLayout (line 12) | htmlLayout = "layout.html" constant htmlAltLayout (line 13) | htmlAltLayout = "alt_layout.plush.html" constant htmlTemplate (line 14) | htmlTemplate = "my-template.html" function Test_HTML_WithoutLayout (line 16) | func Test_HTML_WithoutLayout(t *testing.T) { function Test_HTML_WithLayout (line 37) | func Test_HTML_WithLayout(t *testing.T) { function Test_HTML_WithLayout_Override (line 63) | func Test_HTML_WithLayout_Override(t *testing.T) { function Test_HTML_LeadingSlash (line 93) | func Test_HTML_LeadingSlash(t *testing.T) { FILE: render/js.go function JavaScript (line 9) | func JavaScript(names ...string) Renderer { method JavaScript (line 23) | func (e *Engine) JavaScript(names ...string) Renderer { FILE: render/js_test.go constant jsLayout (line 12) | jsLayout = "layout.js" constant jsAltLayout (line 13) | jsAltLayout = "alt_layout.plush.js" constant jsTemplate (line 14) | jsTemplate = "my-template.js" function Test_JavaScript_WithoutLayout (line 16) | func Test_JavaScript_WithoutLayout(t *testing.T) { function Test_JavaScript_WithLayout (line 37) | func Test_JavaScript_WithLayout(t *testing.T) { function Test_JavaScript_WithLayout_Override (line 63) | func Test_JavaScript_WithLayout_Override(t *testing.T) { function Test_JavaScript_Partial_Without_Extension (line 93) | func Test_JavaScript_Partial_Without_Extension(t *testing.T) { function Test_JavaScript_Partial (line 120) | func Test_JavaScript_Partial(t *testing.T) { function Test_JavaScript_HTML_Partial (line 148) | func Test_JavaScript_HTML_Partial(t *testing.T) { FILE: render/json.go type jsonRenderer (line 8) | type jsonRenderer struct method ContentType (line 12) | func (s jsonRenderer) ContentType() string { method Render (line 16) | func (s jsonRenderer) Render(w io.Writer, data Data) error { function JSON (line 22) | func JSON(v any) Renderer { method JSON (line 28) | func (e *Engine) JSON(v any) Renderer { FILE: render/json_test.go function Test_JSON (line 11) | func Test_JSON(t *testing.T) { FILE: render/markdown_test.go constant mdTemplate (line 12) | mdTemplate = "my-template.md" function Test_MD_WithoutLayout (line 14) | func Test_MD_WithoutLayout(t *testing.T) { function Test_MD_WithLayout (line 35) | func Test_MD_WithLayout(t *testing.T) { FILE: render/options.go type Helpers (line 10) | type Helpers type Options (line 13) | type Options struct FILE: render/partials_test.go function Test_Template_Partial (line 12) | func Test_Template_Partial(t *testing.T) { function Test_Template_PartialCustomFeeder (line 39) | func Test_Template_PartialCustomFeeder(t *testing.T) { function Test_Template_Partial_WithoutExtension (line 79) | func Test_Template_Partial_WithoutExtension(t *testing.T) { function Test_Template_Partial_Form (line 106) | func Test_Template_Partial_Form(t *testing.T) { function Test_Template_Partial_With_For (line 135) | func Test_Template_Partial_With_For(t *testing.T) { function Test_Template_Partial_With_For_And_Local (line 170) | func Test_Template_Partial_With_For_And_Local(t *testing.T) { function Test_Template_Partial_Recursive_With_Global_And_Local_Context (line 205) | func Test_Template_Partial_Recursive_With_Global_And_Local_Context(t *te... function Test_Template_Partial_With_Layout (line 233) | func Test_Template_Partial_With_Layout(t *testing.T) { FILE: render/plain.go function Plain (line 9) | func Plain(names ...string) Renderer { method Plain (line 20) | func (e *Engine) Plain(names ...string) Renderer { FILE: render/plain_test.go function Test_Plain (line 11) | func Test_Plain(t *testing.T) { FILE: render/render.go type Engine (line 14) | type Engine struct function New (line 20) | func New(opts Options) *Engine { function defaultHelpers (line 68) | func defaultHelpers() Helpers { FILE: render/render_test.go type Widget (line 9) | type Widget struct method ToPath (line 13) | func (w Widget) ToPath() string { function NewEngine (line 17) | func NewEngine() *Engine { type rendFriend (line 24) | type rendFriend function TestMain (line 26) | func TestMain(m *testing.M) { function init (line 31) | func init() { FILE: render/renderer.go type Renderer (line 7) | type Renderer interface type Data (line 14) | type Data FILE: render/sse.go type sse (line 9) | type sse struct method String (line 14) | func (s *sse) String() string { method Bytes (line 19) | func (s *sse) Bytes() []byte { type EventSource (line 26) | type EventSource struct method Write (line 31) | func (es *EventSource) Write(t string, d any) error { method Flush (line 43) | func (es *EventSource) Flush() { method CloseNotify (line 53) | func (es *EventSource) CloseNotify() <-chan bool { type closeNotifier (line 47) | type closeNotifier interface function NewEventSource (line 63) | func NewEventSource(w http.ResponseWriter) (*EventSource, error) { FILE: render/string.go type stringRenderer (line 8) | type stringRenderer struct method ContentType (line 13) | func (s stringRenderer) ContentType() string { method Render (line 17) | func (s stringRenderer) Render(w io.Writer, data Data) error { function String (line 33) | func String(s string, args ...any) Renderer { method String (line 41) | func (e *Engine) String(s string, args ...any) Renderer { FILE: render/string_map.go type stringMap (line 11) | type stringMap struct method Delete (line 16) | func (m *stringMap) Delete(key string) { method Load (line 24) | func (m *stringMap) Load(key string) (string, bool) { method LoadOrStore (line 35) | func (m *stringMap) LoadOrStore(key string, value string) (string, boo... method Range (line 42) | func (m *stringMap) Range(f func(key string, value string) bool) { method Store (line 57) | func (m *stringMap) Store(key string, value string) { method Keys (line 62) | func (m *stringMap) Keys() []string { method Clear (line 73) | func (m *stringMap) Clear() { FILE: render/string_map_test.go function Test_stringMap (line 10) | func Test_stringMap(t *testing.T) { FILE: render/string_test.go function Test_String (line 11) | func Test_String(t *testing.T) { FILE: render/template.go type templateRenderer (line 20) | type templateRenderer struct method ContentType (line 27) | func (s *templateRenderer) ContentType() string { method resolve (line 31) | func (s *templateRenderer) resolve(name string) ([]byte, fs.FileInfo, ... method Render (line 57) | func (s *templateRenderer) Render(w io.Writer, data Data) error { method updateAliases (line 77) | func (s *templateRenderer) updateAliases() error { method partialFeeder (line 135) | func (s *templateRenderer) partialFeeder(name string) (string, error) { method exec (line 146) | func (s *templateRenderer) exec(name string, data Data) (template.HTML... method localizedName (line 184) | func (s *templateRenderer) localizedName(name string, data Data) string { method localizedResolve (line 215) | func (s *templateRenderer) localizedResolve(name string, data Data) ([... method addTemplateMetadata (line 249) | func (s *templateRenderer) addTemplateMetadata(data Data, fileName, ex... method extsAndBase (line 277) | func (s *templateRenderer) extsAndBase(name string) ([]string, string) { method exts (line 295) | func (s *templateRenderer) exts(name string) []string { method assetPath (line 312) | func (s *templateRenderer) assetPath(file string) (string, error) { function fixExtension (line 118) | func fixExtension(name string, ct string) string { function Template (line 339) | func Template(c string, names ...string) Renderer { method Template (line 350) | func (e *Engine) Template(c string, names ...string) Renderer { FILE: render/template_engine.go type TemplateEngine (line 9) | type TemplateEngine function GoTemplateEngine (line 12) | func GoTemplateEngine(input string, data map[string]any, helpers map[str... FILE: render/template_helpers.go type helperTag (line 14) | type helperTag struct method addAssetsHelpers (line 19) | func (s *templateRenderer) addAssetsHelpers(helpers Helpers) Helpers { function assetPathFor (line 48) | func assetPathFor(file string) string { function loadManifest (line 56) | func loadManifest(manifest io.Reader) error { FILE: render/template_helpers_test.go function tag (line 15) | func tag(name string) (tagHelper, error) { function Test_javascriptTag (line 33) | func Test_javascriptTag(t *testing.T) { function Test_javascriptTag_Options (line 44) | func Test_javascriptTag_Options(t *testing.T) { function Test_stylesheetTag (line 55) | func Test_stylesheetTag(t *testing.T) { function Test_stylesheetTag_Options (line 66) | func Test_stylesheetTag_Options(t *testing.T) { function Test_imgTag (line 77) | func Test_imgTag(t *testing.T) { function Test_imgTag_Options (line 88) | func Test_imgTag_Options(t *testing.T) { FILE: render/template_test.go function Test_Template (line 12) | func Test_Template(t *testing.T) { function Test_AssetPath (line 32) | func Test_AssetPath(t *testing.T) { function Test_AssetPathNoManifest (line 72) | func Test_AssetPathNoManifest(t *testing.T) { function Test_AssetPathNoManifestCorrupt (line 98) | func Test_AssetPathNoManifestCorrupt(t *testing.T) { function Test_Template_resolve_DefaultLang_Plush (line 135) | func Test_Template_resolve_DefaultLang_Plush(t *testing.T) { function Test_Template_resolve_UserLang_Plush (line 160) | func Test_Template_resolve_UserLang_Plush(t *testing.T) { function Test_Template_resolve_DefaultLang_Legacy (line 185) | func Test_Template_resolve_DefaultLang_Legacy(t *testing.T) { function Test_Template_resolve_UserLang_Legacy (line 210) | func Test_Template_resolve_UserLang_Legacy(t *testing.T) { function Test_Template_resolve_DefaultLang_Mixed (line 235) | func Test_Template_resolve_DefaultLang_Mixed(t *testing.T) { function Test_Template_resolve_UserLang_Mixed (line 262) | func Test_Template_resolve_UserLang_Mixed(t *testing.T) { function Test_Template_resolve_FullLocale_ShortFile (line 290) | func Test_Template_resolve_FullLocale_ShortFile(t *testing.T) { function Test_Template_resolve_LangOnly_FullFile (line 315) | func Test_Template_resolve_LangOnly_FullFile(t *testing.T) { function Test_Template_resolve_FullLocale_ShortFile_Legacy (line 340) | func Test_Template_resolve_FullLocale_ShortFile_Legacy(t *testing.T) { function Test_Template_resolve_LangOnly_FullFile_Legacy (line 365) | func Test_Template_resolve_LangOnly_FullFile_Legacy(t *testing.T) { function Test_Template_resolve_FullLocale_ShortFile_Mixed (line 390) | func Test_Template_resolve_FullLocale_ShortFile_Mixed(t *testing.T) { function Test_Template_resolve_LangOnly_FullFile_Mixed (line 415) | func Test_Template_resolve_LangOnly_FullFile_Mixed(t *testing.T) { function Test_Template_extsAndBase (line 440) | func Test_Template_extsAndBase(t *testing.T) { FILE: render/xml.go type xmlRenderer (line 8) | type xmlRenderer struct method ContentType (line 12) | func (s xmlRenderer) ContentType() string { method Render (line 16) | func (s xmlRenderer) Render(w io.Writer, data Data) error { function XML (line 25) | func XML(v any) Renderer { method XML (line 31) | func (e *Engine) XML(v any) Renderer { FILE: render/xml_test.go function Test_XML (line 11) | func Test_XML(t *testing.T) { FILE: request_data.go type requestData (line 5) | type requestData struct function newRequestData (line 10) | func newRequestData() *requestData { FILE: request_data_test.go function Test_newRequestData (line 9) | func Test_newRequestData(t *testing.T) { FILE: request_logger.go function randString (line 17) | func randString(i int) (string, error) { function formatBytes (line 27) | func formatBytes(b uint64) string { function RequestLoggerFunc (line 45) | func RequestLoggerFunc(h Handler) Handler { FILE: resource.go type Resource (line 28) | type Resource interface type Middler (line 38) | type Middler interface type BaseResource (line 57) | type BaseResource struct method List (line 60) | func (v BaseResource) List(c Context) error { method Show (line 65) | func (v BaseResource) Show(c Context) error { method Create (line 70) | func (v BaseResource) Create(c Context) error { method Update (line 75) | func (v BaseResource) Update(c Context) error { method Destroy (line 80) | func (v BaseResource) Destroy(c Context) error { FILE: response.go type Response (line 14) | type Response struct method WriteHeader (line 21) | func (w *Response) WriteHeader(code int) { method Write (line 36) | func (w *Response) Write(b []byte) (int, error) { method Hijack (line 42) | func (w *Response) Hijack() (net.Conn, *bufio.ReadWriter, error) { method Flush (line 50) | func (w *Response) Flush() { method CloseNotify (line 61) | func (w *Response) CloseNotify() <-chan bool { type closeNotifier (line 56) | type closeNotifier interface FILE: response_test.go function Test_Response_MultipleWrite (line 11) | func Test_Response_MultipleWrite(t *testing.T) { FILE: route.go method Routes (line 13) | func (a *App) Routes() RouteList { function addExtraParamsTo (line 21) | func addExtraParamsTo(path string, opts map[string]any) string { type RouteHelperFunc (line 61) | type RouteHelperFunc type RouteList (line 66) | type RouteList method Len (line 75) | func (a RouteList) Len() int { return len(a) } method Swap (line 76) | func (a RouteList) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 77) | func (a RouteList) Less(i, j int) bool { method Lookup (line 86) | func (a RouteList) Lookup(name string) (*RouteInfo, error) { FILE: route_info.go type RouteInfo (line 20) | type RouteInfo struct method String (line 33) | func (ri RouteInfo) String() string { method Alias (line 40) | func (ri *RouteInfo) Alias(aliases ...string) *RouteInfo { method Name (line 49) | func (ri *RouteInfo) Name(name string) *RouteInfo { method BuildPathHelper (line 73) | func (ri *RouteInfo) BuildPathHelper() RouteHelperFunc { method ServeHTTP (line 94) | func (ri RouteInfo) ServeHTTP(res http.ResponseWriter, req *http.Reque... FILE: route_info_test.go function Test_RouteInfo_ServeHTTP_SQL_Error (line 14) | func Test_RouteInfo_ServeHTTP_SQL_Error(t *testing.T) { FILE: route_mappings.go constant AssetsAgeVarName (line 20) | AssetsAgeVarName = "ASSETS_MAX_AGE" method GET (line 26) | func (a *App) GET(p string, h Handler) *RouteInfo { method POST (line 31) | func (a *App) POST(p string, h Handler) *RouteInfo { method PUT (line 36) | func (a *App) PUT(p string, h Handler) *RouteInfo { method DELETE (line 41) | func (a *App) DELETE(p string, h Handler) *RouteInfo { method HEAD (line 46) | func (a *App) HEAD(p string, h Handler) *RouteInfo { method OPTIONS (line 51) | func (a *App) OPTIONS(p string, h Handler) *RouteInfo { method PATCH (line 56) | func (a *App) PATCH(p string, h Handler) *RouteInfo { method Redirect (line 61) | func (a *App) Redirect(status int, from, to string) *RouteInfo { method Mount (line 83) | func (a *App) Mount(p string, h http.Handler) { method ServeFiles (line 94) | func (a *App) ServeFiles(p string, root http.FileSystem) { method fileServer (line 102) | func (a *App) fileServer(fs http.FileSystem) http.Handler { type newable (line 126) | type newable interface type editable (line 130) | type editable interface method Resource (line 158) | func (a *App) Resource(p string, r Resource) *App { method ANY (line 224) | func (a *App) ANY(p string, h Handler) { method Group (line 243) | func (a *App) Group(groupPath string) *App { method VirtualHost (line 284) | func (a *App) VirtualHost(h string) *App { method RouteHelpers (line 293) | func (a *App) RouteHelpers() map[string]RouteHelperFunc { method addRoute (line 302) | func (e *Home) addRoute(method string, url string, h Handler) *RouteInfo { function stripAsset (line 339) | func stripAsset(path string, h http.Handler, a *App) http.Handler { FILE: route_mappings_test.go function Test_App_Routes_without_Root (line 9) | func Test_App_Routes_without_Root(t *testing.T) { function Test_App_Routes_with_Root (line 25) | func Test_App_Routes_with_Root(t *testing.T) { function Test_App_RouteName (line 44) | func Test_App_RouteName(t *testing.T) { function Test_RouteList_Lookup (line 64) | func Test_RouteList_Lookup(t *testing.T) { function Test_App_RouteHelpers (line 85) | func Test_App_RouteHelpers(t *testing.T) { type resourceHandler (line 113) | type resourceHandler struct method List (line 115) | func (r resourceHandler) List(Context) error { method Show (line 119) | func (r resourceHandler) Show(Context) error { method Create (line 123) | func (r resourceHandler) Create(Context) error { method Update (line 127) | func (r resourceHandler) Update(Context) error { method Destroy (line 131) | func (r resourceHandler) Destroy(Context) error { function Test_App_Routes_Resource (line 135) | func Test_App_Routes_Resource(t *testing.T) { function Test_App_VirtualHost (line 158) | func Test_App_VirtualHost(t *testing.T) { FILE: routenamer.go type RouteNamer (line 13) | type RouteNamer interface type baseRouteNamer (line 20) | type baseRouteNamer struct method NameRoute (line 22) | func (drn baseRouteNamer) NameRoute(p string) string { FILE: router_test.go function testApp (line 20) | func testApp() *App { function otherTestApp (line 51) | func otherTestApp() *App { function Test_MethodNotFoundError (line 63) | func Test_MethodNotFoundError(t *testing.T) { function Test_Mount_Buffalo (line 82) | func Test_Mount_Buffalo(t *testing.T) { function Test_Mount_Buffalo_on_Group (line 106) | func Test_Mount_Buffalo_on_Group(t *testing.T) { function muxer (line 131) | func muxer() http.Handler { function Test_Mount_Handler (line 142) | func Test_Mount_Handler(t *testing.T) { function Test_PreHandlers (line 166) | func Test_PreHandlers(t *testing.T) { function Test_PreWares (line 207) | func Test_PreWares(t *testing.T) { function Test_Router (line 252) | func Test_Router(t *testing.T) { function Test_Router_Group (line 277) | func Test_Router_Group(t *testing.T) { function Test_Router_Group_on_Group (line 291) | func Test_Router_Group_on_Group(t *testing.T) { function Test_Router_Group_Middleware (line 309) | func Test_Router_Group_Middleware(t *testing.T) { function Test_Router_Redirect (line 325) | func Test_Router_Redirect(t *testing.T) { function Test_Router_ServeFiles (line 333) | func Test_Router_ServeFiles(t *testing.T) { function Test_Router_InvalidURL (line 365) | func Test_Router_InvalidURL(t *testing.T) { type WebResource (line 387) | type WebResource struct method Edit (line 392) | func (v WebResource) Edit(c Context) error { method New (line 397) | func (v WebResource) New(c Context) error { function Test_App_NamedRoutes (line 401) | func Test_App_NamedRoutes(t *testing.T) { function Test_App_NamedRoutes_MissingParameter (line 476) | func Test_App_NamedRoutes_MissingParameter(t *testing.T) { function Test_Resource (line 501) | func Test_Resource(t *testing.T) { type paramKeyResource (line 571) | type paramKeyResource struct method ParamKey (line 575) | func (paramKeyResource) ParamKey() string { function Test_Resource_ParamKey (line 579) | func Test_Resource_ParamKey(t *testing.T) { type mwResource (line 592) | type mwResource struct method Use (line 596) | func (mwResource) Use() []MiddlewareFunc { method List (line 611) | func (m mwResource) List(c Context) error { function Test_Resource_MW (line 615) | func Test_Resource_MW(t *testing.T) { type userResource (line 632) | type userResource struct method List (line 634) | func (u *userResource) List(c Context) error { method Show (line 638) | func (u *userResource) Show(c Context) error { method New (line 642) | func (u *userResource) New(c Context) error { method Create (line 646) | func (u *userResource) Create(c Context) error { method Edit (line 650) | func (u *userResource) Edit(c Context) error { method Update (line 654) | func (u *userResource) Update(c Context) error { method Destroy (line 658) | func (u *userResource) Destroy(c Context) error { function Test_ResourceOnResource (line 662) | func Test_ResourceOnResource(t *testing.T) { function Test_buildRouteName (line 728) | func Test_buildRouteName(t *testing.T) { function Test_CatchAll_Route (line 767) | func Test_CatchAll_Route(t *testing.T) { function Test_Router_Matches_Trailing_Slash (line 783) | func Test_Router_Matches_Trailing_Slash(t *testing.T) { FILE: runtime/build.go type BuildInfo (line 36) | type BuildInfo struct method String (line 42) | func (b BuildInfo) String() string { function Build (line 61) | func Build() BuildInfo { function loadBuildInfo (line 70) | func loadBuildInfo() BuildInfo { function SetBuild (line 111) | func SetBuild(b BuildInfo) { FILE: server.go method Serve (line 22) | func (a *App) Serve(srvs ...servers.Server) error { method Stop (line 115) | func (a *App) Stop(err error) error { method ServeHTTP (line 130) | func (a *App) ServeHTTP(w http.ResponseWriter, r *http.Request) { method processPreHandlers (line 150) | func (a *App) processPreHandlers(res http.ResponseWriter, req *http.Requ... method normalizePath (line 177) | func (a *App) normalizePath(path string) string { FILE: server_test.go constant waitStart (line 19) | waitStart = 2 constant waitRun (line 20) | waitRun = 2 constant consumerRun (line 21) | consumerRun = 8 function startApp (line 26) | func startApp(app *App, wg *sync.WaitGroup, r *require.Assertions) { function Test_Server_Simple (line 36) | func Test_Server_Simple(t *testing.T) { function timeConsumer (line 55) | func timeConsumer(c Context) error { function Test_Server_GracefulShutdownOngoingRequest (line 64) | func Test_Server_GracefulShutdownOngoingRequest(t *testing.T) { function timerWorker (line 110) | func timerWorker(args worker.Args) error { function Test_Server_GracefulShutdownOngoingWorker (line 119) | func Test_Server_GracefulShutdownOngoingWorker(t *testing.T) { FILE: servers/listener.go type Listener (line 11) | type Listener struct method SetAddr (line 17) | func (s *Listener) SetAddr(addr string) { method String (line 24) | func (s *Listener) String() string { method Start (line 29) | func (s *Listener) Start(c context.Context, h http.Handler) error { function UnixSocket (line 35) | func UnixSocket(addr string) (*Listener, error) { FILE: servers/servers.go type Server (line 10) | type Server interface function Wrap (line 17) | func Wrap(s *http.Server) Server { function WrapTLS (line 23) | func WrapTLS(s *http.Server, certFile string, keyFile string) Server { function WrapListener (line 32) | func WrapListener(s *http.Server, l net.Listener) Server { FILE: servers/simple.go type Simple (line 10) | type Simple struct method SetAddr (line 15) | func (s *Simple) SetAddr(addr string) { method String (line 22) | func (s *Simple) String() string { method Start (line 27) | func (s *Simple) Start(c context.Context, h http.Handler) error { function New (line 33) | func New() *Simple { FILE: servers/tls.go type TLS (line 10) | type TLS struct method SetAddr (line 17) | func (s *TLS) SetAddr(addr string) { method String (line 24) | func (s *TLS) String() string { method Start (line 29) | func (s *TLS) Start(c context.Context, h http.Handler) error { FILE: session.go type Session (line 11) | type Session struct method Save (line 18) | func (s *Session) Save() error { method Get (line 23) | func (s *Session) Get(name any) any { method GetOnce (line 28) | func (s *Session) GetOnce(name any) any { method Set (line 38) | func (s *Session) Set(name, value any) { method Delete (line 43) | func (s *Session) Delete(name any) { method Clear (line 48) | func (s *Session) Clear() { method getSession (line 55) | func (a *App) getSession(r *http.Request, w http.ResponseWriter) *Session { FILE: session_test.go function Test_Session_SingleCookie (line 15) | func Test_Session_SingleCookie(t *testing.T) { function Test_Session_CustomValue (line 39) | func Test_Session_CustomValue(t *testing.T) { FILE: worker/job.go type Args (line 6) | type Args method String (line 8) | func (a Args) String() string { type Job (line 14) | type Job struct method String (line 23) | func (j Job) String() string { FILE: worker/simple.go function NewSimple (line 17) | func NewSimple() *Simple { function NewSimpleWithContext (line 26) | func NewSimpleWithContext(ctx context.Context) *Simple { type Simple (line 45) | type Simple struct method Register (line 56) | func (w *Simple) Register(name string, h Handler) error { method Start (line 71) | func (w *Simple) Start(ctx context.Context) error { method Stop (line 84) | func (w *Simple) Stop() error { method Perform (line 99) | func (w *Simple) Perform(job Job) error { method PerformAt (line 157) | func (w *Simple) PerformAt(job Job, t time.Time) error { method PerformIn (line 163) | func (w *Simple) PerformIn(job Job, d time.Duration) error { function safeRun (line 142) | func safeRun(fn func() error) (err error) { type SimpleLogger (line 195) | type SimpleLogger interface FILE: worker/simple_test.go function sampleHandler (line 12) | func sampleHandler(Args) error { function Test_Simple_RegisterEmpty (line 16) | func Test_Simple_RegisterEmpty(t *testing.T) { function Test_Simple_RegisterNil (line 24) | func Test_Simple_RegisterNil(t *testing.T) { function Test_Simple_RegisterEmptyNil (line 32) | func Test_Simple_RegisterEmptyNil(t *testing.T) { function Test_Simple_RegisterExisting (line 40) | func Test_Simple_RegisterExisting(t *testing.T) { function Test_Simple_StartStop (line 51) | func Test_Simple_StartStop(t *testing.T) { function Test_Simple_Perform (line 67) | func Test_Simple_Perform(t *testing.T) { function Test_Simple_PerformBroken (line 87) | func Test_Simple_PerformBroken(t *testing.T) { function Test_Simple_PerformWithEmptyJob (line 110) | func Test_Simple_PerformWithEmptyJob(t *testing.T) { function Test_Simple_PerformWithUnknownJob (line 121) | func Test_Simple_PerformWithUnknownJob(t *testing.T) { function Test_Simple_PerformAfterStop (line 145) | func Test_Simple_PerformAfterStop(t *testing.T) { function Test_Simple_PerformAt (line 157) | func Test_Simple_PerformAt(t *testing.T) { function Test_Simple_PerformIn (line 184) | func Test_Simple_PerformIn(t *testing.T) { function Test_Simple_PerformInAfterStop (line 224) | func Test_Simple_PerformInAfterStop(t *testing.T) { FILE: worker/worker.go type Handler (line 10) | type Handler type Worker (line 14) | type Worker interface FILE: wrappers.go function WrapHandler (line 13) | func WrapHandler(h http.Handler) Handler { function WrapHandlerFunc (line 22) | func WrapHandlerFunc(h http.HandlerFunc) Handler { function WrapBuffaloHandler (line 33) | func WrapBuffaloHandler(h Handler) http.Handler { function WrapBuffaloHandlerFunc (line 44) | func WrapBuffaloHandlerFunc(h Handler) http.HandlerFunc { FILE: wrappers_test.go function Test_WrapHandlerFunc (line 12) | func Test_WrapHandlerFunc(t *testing.T) { function Test_WrapHandler (line 26) | func Test_WrapHandler(t *testing.T) { function Test_WrapBuffaloHandler (line 40) | func Test_WrapBuffaloHandler(t *testing.T) { function Test_WrapBuffaloHandlerFunc (line 72) | func Test_WrapBuffaloHandlerFunc(t *testing.T) { function Benchmark_WrapBuffaloHandler (line 104) | func Benchmark_WrapBuffaloHandler(b *testing.B) {