SYMBOL INDEX (6051 symbols across 751 files) FILE: _benchmarks/view/ace/main.go function main (line 9) | func main() { function index (line 19) | func index(ctx iris.Context) { FILE: _benchmarks/view/blocks/main.go function main (line 9) | func main() { function index (line 21) | func index(ctx iris.Context) { FILE: _benchmarks/view/django/main.go function main (line 9) | func main() { function index (line 18) | func index(ctx iris.Context) { FILE: _benchmarks/view/handlebars/main.go function main (line 9) | func main() { function index (line 18) | func index(ctx iris.Context) { FILE: _benchmarks/view/html/main.go function main (line 9) | func main() { function index (line 19) | func index(ctx iris.Context) { FILE: _benchmarks/view/jet/main.go function main (line 9) | func main() { function index (line 18) | func index(ctx iris.Context) { FILE: _benchmarks/view/pug/main.go function main (line 9) | func main() { function index (line 19) | func index(ctx iris.Context) { FILE: _examples/auth/auth/main.go function allowRole (line 13) | func allowRole(role AccessRole) auth.VerifyUserFunc[User] { constant configFilename (line 23) | configFilename = "./auth.yml" function main (line 25) | func main() { function renderSigninForm (line 120) | func renderSigninForm(ctx iris.Context) { function renderMemberPage (line 127) | func renderMemberPage(s *auth.Auth[User]) iris.Handler { function renderOwnerPage (line 134) | func renderOwnerPage(s *auth.Auth[User]) iris.Handler { FILE: _examples/auth/auth/user.go type AccessRole (line 6) | type AccessRole method Is (line 8) | func (r AccessRole) Is(v AccessRole) bool { method Allow (line 12) | func (r AccessRole) Allow(v AccessRole) bool { constant InvalidAccessRole (line 17) | InvalidAccessRole AccessRole = 1 << iota constant Read (line 18) | Read constant Write (line 19) | Write constant Delete (line 20) | Delete constant Owner (line 22) | Owner = Read | Write | Delete constant Member (line 23) | Member = Read | Write type User (line 26) | type User struct method GetID (line 32) | func (u User) GetID() string { FILE: _examples/auth/auth/user_provider.go type Provider (line 15) | type Provider struct method Signin (line 42) | func (p *Provider) Signin(ctx context.Context, username, password stri... method ValidateToken (line 53) | func (p *Provider) ValidateToken(ctx context.Context, standardClaims a... method InvalidateToken (line 85) | func (p *Provider) InvalidateToken(ctx context.Context, standardClaims... method InvalidateTokens (line 94) | func (p *Provider) InvalidateTokens(ctx context.Context, u User) error... function NewProvider (line 23) | func NewProvider() *Provider { FILE: _examples/auth/basicauth/basic/main.go function newApp (line 10) | func newApp() *iris.Application { function main (line 76) | func main() { function handler (line 82) | func handler(ctx iris.Context) { function logout (line 91) | func logout(ctx iris.Context) { FILE: _examples/auth/basicauth/basic/main_test.go function TestBasicAuth (line 9) | func TestBasicAuth(t *testing.T) { FILE: _examples/auth/basicauth/database/main.go type User (line 18) | type User struct method GetUsername (line 26) | func (u User) GetUsername() string { method GetPassword (line 31) | func (u User) GetPassword() string { function main (line 35) | func main() { function index (line 67) | func index(ctx iris.Context) { function getenv (line 73) | func getenv(key string, def string) string { type database (line 82) | type database struct method getUserByUsernameAndPassword (line 100) | func (db *database) getUserByUsernameAndPassword(ctx context.Context, ... function connect (line 86) | func connect(dsn string) (*database, error) { FILE: _examples/auth/basicauth/database/migration/db.sql type users (line 9) | CREATE TABLE users ( FILE: _examples/auth/basicauth/users_file_bcrypt/main.go function main (line 8) | func main() { function index (line 27) | func index(ctx iris.Context) { FILE: _examples/auth/basicauth/users_list/main.go type User (line 13) | type User struct function main (line 26) | func main() { function index (line 55) | func index(ctx iris.Context) { FILE: _examples/auth/cors/main.go function main (line 22) | func main() { type item (line 53) | type item struct function listData (line 57) | func listData(ctx iris.Context) { FILE: _examples/auth/cors/public/main.js function doRequest (line 2) | async function doRequest(method = 'GET', url = '', data = {}) { function fetchData (line 29) | function fetchData() { FILE: _examples/auth/goth/main.go function init (line 75) | func init() { function BeginAuthHandler (line 125) | func BeginAuthHandler(ctx iris.Context) { function GetAuthURL (line 145) | func GetAuthURL(ctx iris.Context) (string, error) { function Logout (line 236) | func Logout(ctx iris.Context) error { function main (line 248) | func main() { type ProviderIndex (line 419) | type ProviderIndex struct FILE: _examples/auth/hcaptcha/main.go function main (line 18) | func main() { function register (line 33) | func register(ctx iris.Context) { function registerForm (line 44) | func registerForm(ctx iris.Context) { FILE: _examples/auth/jwt/basic/main.go function main (line 19) | func main() { type fooClaims (line 28) | type fooClaims struct function generateToken (line 32) | func generateToken(ctx iris.Context) { function protected (line 49) | func protected(ctx iris.Context) { FILE: _examples/auth/jwt/blocklist/main.go type userClaims (line 21) | type userClaims struct function main (line 25) | func main() { function authenticate (line 64) | func authenticate(ctx iris.Context) { function protected (line 88) | func protected(ctx iris.Context) { function logout (line 97) | func logout(ctx iris.Context) { FILE: _examples/auth/jwt/middleware/main.go type fooClaims (line 15) | type fooClaims struct function main (line 24) | func main() { function generateToken (line 57) | func generateToken(signer *jwt.Signer) iris.Handler { function protected (line 71) | func protected(ctx iris.Context) { function logout (line 84) | func logout(ctx iris.Context) { FILE: _examples/auth/jwt/refresh-token/main.go constant accessTokenMaxAge (line 12) | accessTokenMaxAge = 10 * time.Minute constant refreshTokenMaxAge (line 13) | refreshTokenMaxAge = time.Hour type UserClaims (line 24) | type UserClaims struct method GetID (line 37) | func (u *UserClaims) GetID() string { method GetUsername (line 42) | func (u *UserClaims) GetUsername() string { method Validate (line 49) | func (u *UserClaims) Validate() error { function main (line 60) | func main() { function generateTokenPair (line 98) | func generateTokenPair(ctx iris.Context) { function refreshToken (line 133) | func refreshToken(ctx iris.Context) { function handleUnauthorized (line 177) | func handleUnauthorized(ctx iris.Context) { FILE: _examples/auth/jwt/tutorial/api/auth.go constant defaultSecretKey (line 16) | defaultSecretKey = "sercrethatmaycontainch@r$32chars" function getSecretKey (line 18) | func getSecretKey() string { type UserClaims (line 28) | type UserClaims struct method Validate (line 35) | func (u *UserClaims) Validate() error { function Verify (line 44) | func Verify() iris.Handler { function AllowAdmin (line 56) | func AllowAdmin(ctx iris.Context) { function SignIn (line 66) | func SignIn(repo repository.UserRepository) iris.Handler { function SignOut (line 116) | func SignOut(ctx iris.Context) { function GetClaims (line 121) | func GetClaims(ctx iris.Context) *UserClaims { function GetUserID (line 127) | func GetUserID(ctx iris.Context) string { function IsAdmin (line 132) | func IsAdmin(ctx iris.Context) bool { FILE: _examples/auth/jwt/tutorial/api/router.go function NewRouter (line 11) | func NewRouter(userRepo repository.UserRepository, todoRepo repository.T... FILE: _examples/auth/jwt/tutorial/api/todo.go type TodoRequest (line 11) | type TodoRequest struct function CreateTodo (line 17) | func CreateTodo(repo repository.TodoRepository) iris.Handler { function GetTodo (line 40) | func GetTodo(repo repository.TodoRepository) iris.Handler { function ListTodos (line 68) | func ListTodos(repo repository.TodoRepository) iris.Handler { function ListAllTodos (line 89) | func ListAllTodos(repo repository.TodoRepository) iris.Handler { FILE: _examples/auth/jwt/tutorial/domain/model/role.go type Role (line 4) | type Role constant Admin (line 8) | Admin Role = "admin" FILE: _examples/auth/jwt/tutorial/domain/model/todo.go type Todo (line 4) | type Todo struct FILE: _examples/auth/jwt/tutorial/domain/model/user.go type User (line 4) | type User struct FILE: _examples/auth/jwt/tutorial/domain/repository/samples.go function GenerateSamples (line 10) | func GenerateSamples(userRepo UserRepository, todoRepo TodoRepository) e... FILE: _examples/auth/jwt/tutorial/domain/repository/todo_repository.go type TodoRepository (line 17) | type TodoRepository interface type memoryTodoRepository (line 28) | type memoryTodoRepository struct method Create (line 39) | func (r *memoryTodoRepository) Create(userID, title, body string) (mod... method GetByID (line 60) | func (r *memoryTodoRepository) GetByID(id string) (model.Todo, error) { method GetAll (line 73) | func (r *memoryTodoRepository) GetAll() ([]model.Todo, error) { method GetAllByUser (line 81) | func (r *memoryTodoRepository) GetAllByUser(userID string) ([]model.To... function NewMemoryTodoRepository (line 34) | func NewMemoryTodoRepository() TodoRepository { FILE: _examples/auth/jwt/tutorial/domain/repository/user_repository.go type UserRepository (line 12) | type UserRepository interface type memoryUserRepository (line 23) | type memoryUserRepository struct method Create (line 36) | func (r *memoryUserRepository) Create(username, password string, roles... method GetByUsernameAndPassword (line 62) | func (r *memoryUserRepository) GetByUsernameAndPassword(username, pass... method GetAll (line 76) | func (r *memoryUserRepository) GetAll() ([]model.User, error) { function NewMemoryUserRepository (line 31) | func NewMemoryUserRepository() UserRepository { FILE: _examples/auth/jwt/tutorial/go-client/client.go type RequestOption (line 19) | type RequestOption function WithAccessToken (line 22) | func WithAccessToken(token []byte) RequestOption { function WithContentType (line 31) | func WithContentType(cType string) RequestOption { function WithContentLength (line 39) | func WithContentLength(length int) RequestOption { function Do (line 47) | func Do(method, url string, body io.Reader, opts ...RequestOption) (*htt... function JSON (line 63) | func JSON(method, url string, v any, opts ...RequestOption) (*http.Respo... function Form (line 75) | func Form(method, url string, formData url.Values, opts ...RequestOption... function BindResponse (line 88) | func BindResponse(resp *http.Response, dest any) error { function RawResponse (line 104) | func RawResponse(resp *http.Response) ([]byte, error) { FILE: _examples/auth/jwt/tutorial/go-client/main.go constant base (line 13) | base = "http://localhost:8080" function main (line 15) | func main() { function authenticate (line 31) | func authenticate(username, password string) ([]byte, error) { function createTodo (line 47) | func createTodo(accessToken []byte, title, body string) (model.Todo, err... FILE: _examples/auth/jwt/tutorial/main.go function main (line 15) | func main() { FILE: _examples/auth/jwt/tutorial/util/app.go constant Version (line 5) | Version = "0.0.1" constant AppName (line 6) | AppName = "myapp" FILE: _examples/auth/jwt/tutorial/util/password.go function MustGeneratePassword (line 6) | func MustGeneratePassword(userPassword string) []byte { function GeneratePassword (line 17) | func GeneratePassword(userPassword string) ([]byte, error) { function ValidatePassword (line 22) | func ValidatePassword(userPassword string, hashed []byte) bool { FILE: _examples/auth/jwt/tutorial/util/uuid.go function MustGenerateUUID (line 6) | func MustGenerateUUID() string { function GenerateUUID (line 16) | func GenerateUUID() (string, error) { FILE: _examples/auth/permissions/main.go function main (line 26) | func main() { FILE: _examples/auth/recaptcha/custom_form/main.go constant recaptchaPublic (line 13) | recaptchaPublic = "6Lf3WywUAAAAAKNfAm5DP2J5ahqedtZdHTYaKkJ6" constant recaptchaSecret (line 14) | recaptchaSecret = "6Lf3WywUAAAAAJpArb8nW_LCL_PuPuokmEABFfgw" function main (line 17) | func main() { function showRecaptchaForm (line 36) | func showRecaptchaForm(ctx iris.Context) { function postComment (line 41) | func postComment(ctx iris.Context) { FILE: _examples/auth/recaptcha/main.go constant recaptchaPublic (line 10) | recaptchaPublic = "" constant recaptchaSecret (line 11) | recaptchaSecret = "" function showRecaptchaForm (line 14) | func showRecaptchaForm(ctx iris.Context, path string) { function main (line 18) | func main() { FILE: _examples/bootstrapper/bootstrap/bootstrapper.go type Configurator (line 16) | type Configurator type Bootstrapper (line 18) | type Bootstrapper struct method SetupViews (line 44) | func (b *Bootstrapper) SetupViews(viewsDir string) { method SetupSessions (line 49) | func (b *Bootstrapper) SetupSessions(expires time.Duration, cookieHash... method SetupWebsockets (line 58) | func (b *Bootstrapper) SetupWebsockets(endpoint string, handler websoc... method SetupErrorHandlers (line 66) | func (b *Bootstrapper) SetupErrorHandlers() { method Configure (line 96) | func (b *Bootstrapper) Configure(cs ...Configurator) { method Bootstrap (line 105) | func (b *Bootstrapper) Bootstrap() *Bootstrapper { method Listen (line 125) | func (b *Bootstrapper) Listen(addr string, cfgs ...iris.Configurator) { function New (line 28) | func New(appName, appOwner string, cfgs ...Configurator) *Bootstrapper { constant StaticAssets (line 90) | StaticAssets = "./public/" constant Favicon (line 92) | Favicon = "favicon.ico" FILE: _examples/bootstrapper/main.go function newApp (line 9) | func newApp() *bootstrap.Bootstrapper { function main (line 16) | func main() { FILE: _examples/bootstrapper/main_test.go function TestApp (line 10) | func TestApp(t *testing.T) { FILE: _examples/bootstrapper/middleware/identity/identity.go function New (line 13) | func New(b *bootstrap.Bootstrapper) iris.Handler { function Configure (line 30) | func Configure(b *bootstrap.Bootstrapper) { FILE: _examples/bootstrapper/routes/follower.go function GetFollowerHandler (line 8) | func GetFollowerHandler(ctx iris.Context) { FILE: _examples/bootstrapper/routes/following.go function GetFollowingHandler (line 8) | func GetFollowingHandler(ctx iris.Context) { FILE: _examples/bootstrapper/routes/index.go function GetIndexHandler (line 10) | func GetIndexHandler(ctx iris.Context) { FILE: _examples/bootstrapper/routes/like.go function GetLikeHandler (line 8) | func GetLikeHandler(ctx iris.Context) { FILE: _examples/bootstrapper/routes/routes.go function Configure (line 8) | func Configure(b *bootstrap.Bootstrapper) { FILE: _examples/caddy/server1/main.go function main (line 8) | func main() { type Layout (line 21) | type Layout struct type Controller (line 26) | type Controller struct method BeginRequest (line 31) | func (c *Controller) BeginRequest(ctx iris.Context) { method EndRequest (line 38) | func (c *Controller) EndRequest(ctx iris.Context) {} method Get (line 41) | func (c *Controller) Get() mvc.View { FILE: _examples/caddy/server2/main.go type postValue (line 8) | type postValue function main (line 10) | func main() { type UserController (line 28) | type UserController struct method Get (line 31) | func (c *UserController) Get() string { method GetBy (line 39) | func (c *UserController) GetBy(id int64) User { method Post (line 45) | func (c *UserController) Post(post postValue) string { method PutBy (line 51) | func (c *UserController) PutBy(id int) string { method DeleteBy (line 57) | func (c *UserController) DeleteBy(id int) bool { method GetFollowersBy (line 65) | func (c *UserController) GetFollowersBy(id int) []User { type User (line 36) | type User struct FILE: _examples/compression/client-using-iris/main.go constant baseURL (line 13) | baseURL = "http://localhost:8080" constant encoding (line 21) | encoding = context.BROTLI function main (line 25) | func main() { function getExample (line 32) | func getExample() { type payload (line 62) | type payload struct function postExample (line 66) | func postExample() { FILE: _examples/compression/client/main.go constant baseURL (line 14) | baseURL = "http://localhost:8080" function main (line 16) | func main() { function getExample (line 23) | func getExample() { type payload (line 53) | type payload struct function postExample (line 57) | func postExample() { FILE: _examples/compression/main.go function main (line 5) | func main() { function newApp (line 11) | func newApp() *iris.Application { type payload (line 22) | type payload struct function send (line 26) | func send(ctx iris.Context) { function receive (line 32) | func receive(ctx iris.Context) { FILE: _examples/compression/main_test.go function TestCompression (line 14) | func TestCompression(t *testing.T) { function TestCompressionAfterRecorder (line 22) | func TestCompressionAfterRecorder(t *testing.T) { function TestCompressionBeforeRecorder (line 40) | func TestCompressionBeforeRecorder(t *testing.T) { function testBody (line 58) | func testBody(t *testing.T, req *httptest.Request, expectedReply any) { FILE: _examples/configuration/from-configuration-structure/main.go function main (line 7) | func main() { FILE: _examples/configuration/from-toml-file/main.go function main (line 7) | func main() { FILE: _examples/configuration/from-yaml-file/main.go function main (line 7) | func main() { FILE: _examples/configuration/from-yaml-file/shared-configuration/main.go function main (line 7) | func main() { FILE: _examples/configuration/functional/main.go function main (line 7) | func main() { FILE: _examples/configuration/multi-environments/api/configuration.go type Configuration (line 10) | type Configuration struct method BindFile (line 20) | func (c *Configuration) BindFile(filename string) error { FILE: _examples/configuration/multi-environments/api/server.go type Server (line 13) | type Server struct method Build (line 34) | func (s *Server) Build() error { method configureRouter (line 47) | func (s *Server) configureRouter() error { method registerMiddlewares (line 57) | func (s *Server) registerMiddlewares() { method registerRoutes (line 71) | func (s *Server) registerRoutes() { method AddCloser (line 82) | func (s *Server) AddCloser(closers ...func()) { method Shutdown (line 96) | func (s *Server) Shutdown() error { method Listen (line 113) | func (s *Server) Listen() error { function NewServer (line 22) | func NewServer(congig Configuration) *Server { FILE: _examples/configuration/multi-environments/cmd/root_command.go constant defaultConfigFilename (line 9) | defaultConfigFilename = "server.dev.yml" function New (line 18) | func New() *cobra.Command { function startServer (line 47) | func startServer() error { FILE: _examples/configuration/multi-environments/main.go function main (line 10) | func main() { FILE: _examples/configuration/viper/config/config.go function init (line 12) | func init() { function loadConfiguration (line 36) | func loadConfiguration() { FILE: _examples/configuration/viper/main.go function main (line 11) | func main() { FILE: _examples/convert-handlers/negroni-like/main.go function main (line 9) | func main() { function negronilikeTestMiddleware (line 32) | func negronilikeTestMiddleware(w http.ResponseWriter, r *http.Request, n... FILE: _examples/convert-handlers/nethttp/main.go function main (line 9) | func main() { function nativeTestMiddleware (line 29) | func nativeTestMiddleware(w http.ResponseWriter, r *http.Request) { FILE: _examples/convert-handlers/nethttp/wrapper/main.go function main (line 10) | func main() { function index (line 28) | func index(ctx iris.Context) { type Options (line 32) | type Options struct type contextKey (line 36) | type contextKey function StandardWrapper (line 42) | func StandardWrapper(opts Options) func(http.Handler) http.Handler { FILE: _examples/convert-handlers/real-usecase-raven/wrapping-the-router/main.go function init (line 15) | func init() { function main (line 19) | func main() { FILE: _examples/convert-handlers/real-usecase-raven/writing-middleware/main.go function irisRavenMiddleware (line 27) | func irisRavenMiddleware(ctx iris.Context) { function init (line 44) | func init() { function main (line 48) | func main() { FILE: _examples/cookies/basic/main.go function newApp (line 5) | func newApp() *iris.Application { function main (line 57) | func main() { FILE: _examples/cookies/basic/main_test.go function TestCookiesBasic (line 10) | func TestCookiesBasic(t *testing.T) { FILE: _examples/cookies/options/main.go function main (line 7) | func main() { function newApp (line 16) | func newApp() *iris.Application { function withCookieOptions (line 27) | func withCookieOptions(ctx iris.Context) { function setCookie (line 56) | func setCookie(ctx iris.Context) { function getCookie (line 71) | func getCookie(ctx iris.Context) { function removeCookie (line 78) | func removeCookie(ctx iris.Context) { FILE: _examples/cookies/options/main_test.go function TestCookieOptions (line 10) | func TestCookieOptions(t *testing.T) { FILE: _examples/cookies/securecookie/main.go function main (line 14) | func main() { function newApp (line 22) | func newApp() *iris.Application { function useSecureCookies (line 60) | func useSecureCookies() iris.Handler { FILE: _examples/cookies/securecookie/main_test.go function TestSecureCookie (line 10) | func TestSecureCookie(t *testing.T) { FILE: _examples/database/mongodb/api/store/movie.go type MovieHandler (line 10) | type MovieHandler struct method GetAll (line 18) | func (h *MovieHandler) GetAll(ctx iris.Context) { method Get (line 33) | func (h *MovieHandler) Get(ctx iris.Context) { method Add (line 49) | func (h *MovieHandler) Add(ctx iris.Context) { method Update (line 68) | func (h *MovieHandler) Update(ctx iris.Context) { method Delete (line 89) | func (h *MovieHandler) Delete(ctx iris.Context) { function NewMovieHandler (line 14) | func NewMovieHandler(service store.MovieService) *MovieHandler { FILE: _examples/database/mongodb/env/env.go function parse (line 22) | func parse() { function Load (line 38) | func Load(envFileName string) { function getDefault (line 69) | func getDefault(key string, def string) string { function fileExists (line 79) | func fileExists(filename string) bool { FILE: _examples/database/mongodb/httputil/error.go function RuntimeCallerStack (line 25) | func RuntimeCallerStack() (s string) { type HTTPError (line 47) | type HTTPError struct method writeHeaders (line 79) | func (err HTTPError) writeHeaders(ctx iris.Context) { function newError (line 59) | func newError(statusCode int, err error, format string, args ...any) HTT... function LogFailure (line 85) | func LogFailure(logger io.Writer, ctx iris.Context, err HTTPError) { function Fail (line 95) | func Fail(ctx iris.Context, statusCode int, err error, format string, ar... function FailJSON (line 105) | func FailJSON(ctx iris.Context, statusCode int, err error, format string... function InternalServerError (line 117) | func InternalServerError(ctx iris.Context, err error, format string, arg... function InternalServerErrorJSON (line 123) | func InternalServerErrorJSON(ctx iris.Context, err error, format string,... function UnauthorizedJSON (line 128) | func UnauthorizedJSON(ctx iris.Context, err error, format string, args .... FILE: _examples/database/mongodb/main.go constant version (line 26) | version = "0.0.1" function init (line 28) | func init() { function main (line 38) | func main() { FILE: _examples/database/mongodb/store/movie.go type Movie (line 14) | type Movie struct type MovieService (line 21) | type MovieService interface type movieService (line 29) | type movieService struct method GetAll (line 51) | func (s *movieService) GetAll(ctx context.Context) ([]Movie, error) { method GetByID (line 95) | func (s *movieService) GetByID(ctx context.Context, id string) (Movie,... method Create (line 109) | func (s *movieService) Create(ctx context.Context, m *Movie) error { method Update (line 127) | func (s *movieService) Update(ctx context.Context, id string, m Movie)... method Delete (line 166) | func (s *movieService) Delete(ctx context.Context, id string) error { function NewMovieService (line 35) | func NewMovieService(collection *mongo.Collection) MovieService { function matchID (line 83) | func matchID(id string) (bson.D, error) { FILE: _examples/database/mysql/api/api.go function Router (line 16) | func Router(db sql.Database, secret string) func(iris.Party) { function writeToken (line 77) | func writeToken(signer *jwt.Signer) iris.Handler { FILE: _examples/database/mysql/api/category_handler.go type CategoryHandler (line 12) | type CategoryHandler struct method GetByID (line 25) | func (h *CategoryHandler) GetByID(ctx iris.Context) { method List (line 63) | func (h *CategoryHandler) List(ctx iris.Context) { method Create (line 83) | func (h *CategoryHandler) Create(ctx iris.Context) { method Update (line 108) | func (h *CategoryHandler) Update(ctx iris.Context) { method PartialUpdate (line 136) | func (h *CategoryHandler) PartialUpdate(ctx iris.Context) { method Delete (line 166) | func (h *CategoryHandler) Delete(ctx iris.Context) { method ListProducts (line 195) | func (h *CategoryHandler) ListProducts(ctx iris.Context) { method InsertProducts (line 222) | func (h *CategoryHandler) InsertProducts(productService *service.Produ... function NewCategoryHandler (line 19) | func NewCategoryHandler(service *service.CategoryService) *CategoryHandl... FILE: _examples/database/mysql/api/helper.go constant debug (line 9) | debug = true function debugf (line 11) | func debugf(format string, args ...any) { function writeInternalServerError (line 19) | func writeInternalServerError(ctx iris.Context) { function writeEntityNotFound (line 23) | func writeEntityNotFound(ctx iris.Context) { FILE: _examples/database/mysql/api/httperror.go type Error (line 11) | type Error struct method Error (line 42) | func (e Error) Error() string { method Is (line 48) | func (e Error) Is(target error) bool { function newError (line 19) | func newError(statusCode int, method, path, format string, args ...any) ... FILE: _examples/database/mysql/api/product_handler.go type ProductHandler (line 15) | type ProductHandler struct method GetByID (line 30) | func (h *ProductHandler) GetByID(ctx iris.Context) { method List (line 55) | func (h *ProductHandler) List(ctx iris.Context) { method Create (line 74) | func (h *ProductHandler) Create(ctx iris.Context) { method Update (line 99) | func (h *ProductHandler) Update(ctx iris.Context) { method PartialUpdate (line 127) | func (h *ProductHandler) PartialUpdate(ctx iris.Context) { method Delete (line 157) | func (h *ProductHandler) Delete(ctx iris.Context) { function NewProductHandler (line 21) | func NewProductHandler(service *service.ProductService) *ProductHandler { FILE: _examples/database/mysql/cache/groupcache.go type Service (line 17) | type Service interface type Cache (line 25) | type Cache struct method Get (line 51) | func (c *Cache) Get(ctx context.Context, key string, dest groupcache.S... method GetByID (line 113) | func (c *Cache) GetByID(ctx context.Context, id string, dest *[]byte) ... method List (line 118) | func (c *Cache) List(ctx context.Context, rawQuery string, dest *[]byt... function New (line 36) | func New(service Service, name string, maxAge time.Duration) *Cache { constant prefixID (line 45) | prefixID = "#" constant prefixList (line 46) | prefixList = "[" FILE: _examples/database/mysql/entity/category.go type Category (line 11) | type Category struct method TableName (line 24) | func (c *Category) TableName() string { method PrimaryKey (line 29) | func (c *Category) PrimaryKey() string { method SortBy (line 35) | func (c *Category) SortBy() string { method Scan (line 40) | func (c *Category) Scan(rows *sql.Rows) error { type Categories (line 47) | type Categories method Scan (line 50) | func (cs *Categories) Scan(rows *sql.Rows) (err error) { FILE: _examples/database/mysql/entity/product.go type Product (line 10) | type Product struct method TableName (line 22) | func (p Product) TableName() string { method PrimaryKey (line 27) | func (p *Product) PrimaryKey() string { method SortBy (line 33) | func (p *Product) SortBy() string { method ValidateInsert (line 38) | func (p *Product) ValidateInsert() bool { method Scan (line 43) | func (p *Product) Scan(rows *sql.Rows) error { type Products (line 50) | type Products method Scan (line 53) | func (ps *Products) Scan(rows *sql.Rows) (err error) { FILE: _examples/database/mysql/main.go function main (line 14) | func main() { function getenv (line 37) | func getenv(key string, def string) string { FILE: _examples/database/mysql/migration/db.sql type categories (line 9) | CREATE TABLE categories ( type products (line 20) | CREATE TABLE products ( FILE: _examples/database/mysql/service/category_service.go type CategoryService (line 15) | type CategoryService struct method Insert (line 25) | func (s *CategoryService) Insert(ctx context.Context, e entity.Categor... method Update (line 42) | func (s *CategoryService) Update(ctx context.Context, e entity.Categor... method PartialUpdate (line 72) | func (s *CategoryService) PartialUpdate(ctx context.Context, id int64,... function NewCategoryService (line 20) | func NewCategoryService(db sql.Database) *CategoryService { FILE: _examples/database/mysql/service/category_service_test.go function TestCategoryServiceInsert (line 13) | func TestCategoryServiceInsert(t *testing.T) { FILE: _examples/database/mysql/service/product_service.go type ProductService (line 16) | type ProductService struct method Insert (line 27) | func (s *ProductService) Insert(ctx context.Context, e entity.Product)... method BatchInsert (line 44) | func (s *ProductService) BatchInsert(ctx context.Context, products []e... method Update (line 79) | func (s *ProductService) Update(ctx context.Context, e entity.Product)... method PartialUpdate (line 108) | func (s *ProductService) PartialUpdate(ctx context.Context, id int64, ... function NewProductService (line 22) | func NewProductService(db sql.Database) *ProductService { FILE: _examples/database/mysql/sql/mysql.go type MySQL (line 13) | type MySQL struct method CreateDatabase (line 46) | func (db *MySQL) CreateDatabase(database string) error { method Drop (line 53) | func (db *MySQL) Drop(database string) error { method Select (line 60) | func (db *MySQL) Select(ctx context.Context, dest any, query string, a... method Get (line 102) | func (db *MySQL) Get(ctx context.Context, dest any, query string, args... method Exec (line 121) | func (db *MySQL) Exec(ctx context.Context, query string, args ...any) ... function ConnectMySQL (line 29) | func ConnectMySQL(dsn string) (*MySQL, error) { FILE: _examples/database/mysql/sql/service.go type Service (line 16) | type Service struct method DB (line 27) | func (s *Service) DB() Database { method RecordInfo (line 32) | func (s *Service) RecordInfo() Record { method GetByID (line 41) | func (s *Service) GetByID(ctx context.Context, dest any, id int64) err... method Count (line 57) | func (s *Service) Count(ctx context.Context) (total int64, err error) { method List (line 125) | func (s *Service) List(ctx context.Context, dest any, opts ListOptions... method DeleteByID (line 142) | func (s *Service) DeleteByID(ctx context.Context, id int64) (int, erro... method PartialUpdate (line 163) | func (s *Service) PartialUpdate(ctx context.Context, id int64, schema ... function NewService (line 22) | func NewService(db Database, of Record) *Service { type ListOptions (line 66) | type ListOptions struct method Where (line 80) | func (opt ListOptions) Where(colName string, colValue any) ListOptions { method BuildQuery (line 88) | func (opt ListOptions) BuildQuery() (q string, args []any) { function ParseListOptions (line 114) | func ParseListOptions(q url.Values) ListOptions { function GetAffectedRows (line 216) | func GetAffectedRows(result sql.Result) int { constant ascending (line 226) | ascending = "ASC" constant descending (line 227) | descending = "DESC" function ParseOrder (line 232) | func ParseOrder(order string) string { FILE: _examples/database/mysql/sql/sql.go type Database (line 9) | type Database interface type Record (line 19) | type Record interface type Sorted (line 33) | type Sorted interface type Scannable (line 38) | type Scannable interface FILE: _examples/database/orm/gorm/main.go type User (line 13) | type User struct method TableName (line 21) | func (u User) TableName() string { method Serializer (line 35) | func (self User) Serializer() UserSerializer { type UserSerializer (line 25) | type UserSerializer struct function main (line 47) | func main() { type patchParam (line 172) | type patchParam struct FILE: _examples/database/orm/reform/controllers/person_controller.go type PersonController (line 14) | type PersonController struct method Get (line 24) | func (c *PersonController) Get() ([]reform.Struct, error) { method GetBy (line 30) | func (c *PersonController) GetBy(id int32) (reform.Record, error) { method Post (line 36) | func (c *PersonController) Post(p *models.Person) int { FILE: _examples/database/orm/reform/main.go function main (line 24) | func main() { FILE: _examples/database/orm/reform/models/person.go type Person (line 7) | type Person struct FILE: _examples/database/orm/reform/models/person_reform.go type personTableType (line 13) | type personTableType struct method Schema (line 19) | func (v *personTableType) Schema() string { method Name (line 24) | func (v *personTableType) Name() string { method Columns (line 29) | func (v *personTableType) Columns() []string { method NewStruct (line 34) | func (v *personTableType) NewStruct() reform.Struct { method NewRecord (line 39) | func (v *personTableType) NewRecord() reform.Record { method PKColumnIndex (line 44) | func (v *personTableType) PKColumnIndex() uint { method String (line 55) | func (s Person) String() string { method Values (line 67) | func (s *Person) Values() []any { method Pointers (line 79) | func (s *Person) Pointers() []any { method View (line 90) | func (s *Person) View() reform.View { method Table (line 95) | func (s *Person) Table() reform.Table { method PKValue (line 101) | func (s *Person) PKValue() any { method PKPointer (line 107) | func (s *Person) PKPointer() any { method HasPK (line 112) | func (s *Person) HasPK() bool { method SetPK (line 117) | func (s *Person) SetPK(pk any) { function init (line 134) | func init() { FILE: _examples/database/orm/sqlx/main.go type Person (line 24) | type Person struct constant schema (line 31) | schema = ` function main (line 39) | func main() { FILE: _examples/database/sqlx/main.go constant host (line 18) | host = "localhost" constant port (line 19) | port = 5432 constant user (line 20) | user = "postgres" constant password (line 21) | password = "admin!123" constant dbname (line 22) | dbname = "test" function main (line 25) | func main() { function mustConnectDB (line 54) | func mustConnectDB() *sql.DB { function mustCreateExtensions (line 70) | func mustCreateExtensions(ctx context.Context, db *sql.DB) { function mustCreateTables (line 78) | func mustCreateTables(ctx context.Context, db *sql.DB) { type Event (line 94) | type Event struct function insertEvent (line 103) | func insertEvent(ctx context.Context, db *sql.DB, evt Event) (id string,... function listEvents (line 109) | func listEvents(ctx context.Context, db *sql.DB) ([]Event, error) { function getEvent (line 126) | func getEvent(ctx context.Context, db *sql.DB, id string) (evt Event, er... function insert (line 144) | func insert(db *sql.DB) iris.Handler { function list (line 162) | func list(db *sql.DB) iris.Handler { function getByID (line 174) | func getByID(db *sql.DB) iris.Handler { FILE: _examples/dependency-injection/basic/main.go type testInput (line 10) | type testInput struct type testOutput (line 14) | type testOutput struct function handler (line 20) | func handler(id int, in testInput) testOutput { function configureAPI (line 27) | func configureAPI(api *iris.APIContainer) { function main (line 40) | func main() { FILE: _examples/dependency-injection/basic/middleware/main.go type testInput (line 10) | type testInput struct type testOutput (line 14) | type testOutput struct function handler (line 20) | func handler(id int, in testInput) testOutput { function middleware (line 29) | func middleware(in testInput) (int, error) { function newApp (line 42) | func newApp() *iris.Application { function main (line 68) | func main() { FILE: _examples/dependency-injection/basic/middleware/main_test.go function TestDependencyInjectionBasic_Middleware (line 9) | func TestDependencyInjectionBasic_Middleware(t *testing.T) { FILE: _examples/dependency-injection/context-register-dependency/main.go function main (line 5) | func main() { function commonHandler (line 39) | func commonHandler(ctx iris.Context) { function handlerWithDependencies (line 44) | func handlerWithDependencies(role Role) string { type Role (line 51) | type Role struct constant roleContextKey (line 55) | roleContextKey = "myapp.role" function RoleMiddleware (line 58) | func RoleMiddleware(ctx iris.Context) { function GetRole (line 84) | func GetRole(ctx iris.Context) (Role, bool) { FILE: _examples/dependency-injection/jwt/contrib/main.go function main (line 11) | func main() { function register (line 18) | func register(api *iris.APIContainer) { function writeToken (line 50) | func writeToken() string { function restrictedPage (line 59) | func restrictedPage() string { function restrictedPageWithBindedTokenPage (line 63) | func restrictedPageWithBindedTokenPage(token *jwt.Token) string { FILE: _examples/dependency-injection/jwt/main.go function main (line 10) | func main() { function register (line 21) | func register(api *iris.APIContainer) { type userClaims (line 49) | type userClaims struct function writeToken (line 53) | func writeToken(ctx iris.Context) { function restrictedPage (line 67) | func restrictedPage(claims userClaims) string { FILE: _examples/dependency-injection/overview/datamodels/movie.go type Movie (line 12) | type Movie struct FILE: _examples/dependency-injection/overview/main.go function main (line 15) | func main() { FILE: _examples/dependency-injection/overview/repositories/movie_repository.go type Query (line 13) | type Query type MovieRepository (line 18) | type MovieRepository interface function NewMovieRepository (line 30) | func NewMovieRepository(source map[uint64]datamodels.Movie) MovieReposit... type movieMemoryRepository (line 36) | type movieMemoryRepository struct method Exec (line 48) | func (r *movieMemoryRepository) Exec(query Query, action Query, action... method Select (line 86) | func (r *movieMemoryRepository) Select(query Query) (movie datamodels.... method SelectMany (line 102) | func (r *movieMemoryRepository) SelectMany(query Query, limit int) (re... method InsertOrUpdate (line 114) | func (r *movieMemoryRepository) InsertOrUpdate(movie datamodels.Movie)... method Delete (line 171) | func (r *movieMemoryRepository) Delete(query Query, limit int) bool { constant ReadOnlyMode (line 43) | ReadOnlyMode = iota constant ReadWriteMode (line 45) | ReadWriteMode FILE: _examples/dependency-injection/overview/services/movie_service.go type MovieService (line 16) | type MovieService interface function NewMovieService (line 24) | func NewMovieService(repo repositories.MovieRepository) MovieService { type movieService (line 30) | type movieService struct method GetAll (line 35) | func (s *movieService) GetAll() []datamodels.Movie { method GetByID (line 42) | func (s *movieService) GetByID(id uint64) (datamodels.Movie, bool) { method UpdatePosterAndGenreByID (line 49) | func (s *movieService) UpdatePosterAndGenreByID(id uint64, poster stri... method DeleteByID (line 61) | func (s *movieService) DeleteByID(id uint64) bool { FILE: _examples/dependency-injection/overview/web/routes/hello.go function Hello (line 25) | func Hello() hero.Result { function HelloName (line 40) | func HelloName(name string) hero.Result { FILE: _examples/dependency-injection/overview/web/routes/movies.go function Movies (line 17) | func Movies(service services.MovieService) (results []datamodels.Movie) { function MovieByID (line 24) | func MovieByID(service services.MovieService, id uint64) (movie datamode... function UpdateMovieByID (line 31) | func UpdateMovieByID(ctx iris.Context, service services.MovieService, id... function DeleteMovieByID (line 50) | func DeleteMovieByID(service services.MovieService, id uint64) any { FILE: _examples/dependency-injection/sessions/main.go function main (line 12) | func main() { function registerRoutes (line 32) | func registerRoutes(api *iris.APIContainer) { FILE: _examples/dependency-injection/sessions/routes/index.go function Index (line 10) | func Index(session *sessions.Session) string { FILE: _examples/dependency-injection/smart-contract/main.go function main (line 18) | func main() { function newApp (line 36) | func newApp() *iris.Application { function registerUsersRoutes (line 51) | func registerUsersRoutes(usersRouter iris.Party) { type user (line 57) | type user struct function getAllUsersHandler (line 68) | func getAllUsersHandler(ctx iris.Context) { function registerUserRoutes (line 80) | func registerUserRoutes(userRouter *iris.APIContainer) { function getUserHandler (line 105) | func getUserHandler(ctx iris.Context, u *user) { function getUserAgeHandler (line 109) | func getUserAgeHandler(u *user) string { type httpError (line 118) | type httpError struct method Error (line 123) | func (h httpError) Error() string { function fail (line 127) | func fail(ctx iris.Context, statusCode int, format string, a ...any) { function sendJSON (line 144) | func sendJSON(ctx iris.Context, resp any) (err error) { FILE: _examples/desktop/blink/main.go constant addr (line 11) | addr = "127.0.0.1:8080" function main (line 17) | func main() { function runServer (line 22) | func runServer() { function showAndWaitWindow (line 30) | func showAndWaitWindow() { FILE: _examples/desktop/lorca/main.go constant addr (line 8) | addr = "127.0.0.1:8080" function main (line 14) | func main() { function runServer (line 19) | func runServer() { function showAndWaitWindow (line 27) | func showAndWaitWindow() { FILE: _examples/desktop/webview/main.go constant addr (line 8) | addr = "127.0.0.1:8080" function main (line 28) | func main() { function runServer (line 33) | func runServer() { function showAndWaitWindow (line 41) | func showAndWaitWindow() { FILE: _examples/dropzonejs/src/main.go constant uploadsDir (line 21) | uploadsDir = "./public/uploads/" type uploadedFile (line 23) | type uploadedFile struct type uploadedFiles (line 29) | type uploadedFiles struct method scan (line 54) | func (f *uploadedFiles) scan(dir string) { method add (line 67) | func (f *uploadedFiles) add(name string, size int64) uploadedFile { method createThumbnail (line 80) | func (f *uploadedFiles) createThumbnail(uf uploadedFile) { function scanUploads (line 35) | func scanUploads(dir string) *uploadedFiles { function main (line 121) | func main() { FILE: _examples/dropzonejs/src/public/js/dropzone.js function ctor (line 31) | function ctor() { this.constructor = child; } function Emitter (line 37) | function Emitter() {} function Dropzone (line 444) | function Dropzone(element1, options) { function ExifRestore (line 1832) | function ExifRestore() {} FILE: _examples/file-server/basic/main.go function newApp (line 7) | func newApp() *iris.Application { function main (line 63) | func main() { FILE: _examples/file-server/basic/main_test.go type resource (line 13) | type resource method contentType (line 15) | func (r resource) contentType() string { method String (line 30) | func (r resource) String() string { method strip (line 34) | func (r resource) strip(strip string) string { method loadFromBase (line 39) | func (r resource) loadFromBase(dir string, strip string) string { function TestFileServerBasic (line 60) | func TestFileServerBasic(t *testing.T) { function TestHandleDirDot (line 97) | func TestHandleDirDot(t *testing.T) { FILE: _examples/file-server/embedding-files-into-app-bindata/bindata.go function bindataRead (line 21) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 41) | type asset struct type bindataFileInfo (line 46) | type bindataFileInfo struct method Name (line 54) | func (fi bindataFileInfo) Name() string { method Size (line 59) | func (fi bindataFileInfo) Size() int64 { method Mode (line 64) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 69) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 74) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 79) | func (fi bindataFileInfo) Sys() any { type assetFile (line 83) | type assetFile struct method Close (line 127) | func (f *assetFile) Close() error { method Readdir (line 132) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 148) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 90) | type assetOperator struct method Open (line 93) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 156) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 165) | func AssetFile() http.FileSystem { function cssMainCssBytes (line 171) | func cssMainCssBytes() ([]byte, error) { function cssMainCss (line 178) | func cssMainCss() (*asset, error) { function faviconIcoBytes (line 191) | func faviconIcoBytes() ([]byte, error) { function faviconIco (line 198) | func faviconIco() (*asset, error) { function jsMainJsBytes (line 211) | func jsMainJsBytes() ([]byte, error) { function jsMainJs (line 218) | func jsMainJs() (*asset, error) { function Asset (line 232) | func Asset(name string) ([]byte, error) { function MustAsset (line 246) | func MustAsset(name string) []byte { function AssetInfo (line 258) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 271) | func AssetNames() []string { function AssetDir (line 301) | func AssetDir(name string) ([]string, error) { type bintree (line 323) | type bintree struct function RestoreAsset (line 339) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 364) | func RestoreAssets(dir, name string) error { function _filePath (line 380) | func _filePath(dir, name string) string { FILE: _examples/file-server/embedding-files-into-app-bindata/main.go function newApp (line 15) | func newApp() *iris.Application { function main (line 37) | func main() { FILE: _examples/file-server/embedding-files-into-app-bindata/main_test.go type resource (line 13) | type resource method contentType (line 18) | func (r resource) contentType() string { method String (line 33) | func (r resource) String() string { method strip (line 37) | func (r resource) strip(strip string) string { method loadFromBase (line 42) | func (r resource) loadFromBase(dir string) string { function TestEmbeddingFilesIntoApp (line 70) | func TestEmbeddingFilesIntoApp(t *testing.T) { FILE: _examples/file-server/embedding-files-into-app/main.go function newApp (line 12) | func newApp() *iris.Application { function main (line 34) | func main() { FILE: _examples/file-server/embedding-files-into-app/main_test.go type resource (line 13) | type resource method contentType (line 18) | func (r resource) contentType() string { method String (line 33) | func (r resource) String() string { method strip (line 37) | func (r resource) strip(strip string) string { method loadFromBase (line 42) | func (r resource) loadFromBase(dir string) string { function TestEmbeddingFilesIntoApp (line 70) | func TestEmbeddingFilesIntoApp(t *testing.T) { FILE: _examples/file-server/embedding-gzipped-files-into-app-bindata/bindata.go function bindataRead (line 21) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 41) | type asset struct type bindataFileInfo (line 46) | type bindataFileInfo struct method Name (line 54) | func (fi bindataFileInfo) Name() string { method Size (line 59) | func (fi bindataFileInfo) Size() int64 { method Mode (line 64) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 69) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 74) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 79) | func (fi bindataFileInfo) Sys() any { type assetFile (line 83) | type assetFile struct method Close (line 127) | func (f *assetFile) Close() error { method Readdir (line 132) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 148) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 90) | type assetOperator struct method Open (line 93) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 156) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 165) | func AssetFile() http.FileSystem { function cssMainCssBytes (line 171) | func cssMainCssBytes() ([]byte, error) { function cssMainCss (line 178) | func cssMainCss() (*asset, error) { function faviconIcoBytes (line 191) | func faviconIcoBytes() ([]byte, error) { function faviconIco (line 198) | func faviconIco() (*asset, error) { function jsMainJsBytes (line 211) | func jsMainJsBytes() ([]byte, error) { function jsMainJs (line 218) | func jsMainJs() (*asset, error) { function Asset (line 232) | func Asset(name string) ([]byte, error) { function MustAsset (line 246) | func MustAsset(name string) []byte { function AssetInfo (line 258) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 271) | func AssetNames() []string { function AssetDir (line 301) | func AssetDir(name string) ([]string, error) { type bintree (line 323) | type bintree struct function RestoreAsset (line 339) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 364) | func RestoreAssets(dir, name string) error { function _filePath (line 380) | func _filePath(dir, name string) string { FILE: _examples/file-server/embedding-gzipped-files-into-app-bindata/main.go function newApp (line 37) | func newApp() *iris.Application { function main (line 43) | func main() { FILE: _examples/file-server/embedding-gzipped-files-into-app-bindata/main_test.go type resource (line 15) | type resource method contentType (line 20) | func (r resource) contentType() string { method String (line 35) | func (r resource) String() string { method strip (line 39) | func (r resource) strip(strip string) string { method loadFromBase (line 44) | func (r resource) loadFromBase(dir string) string { function TestEmbeddingGzipFilesIntoApp (line 73) | func TestEmbeddingGzipFilesIntoApp(t *testing.T) { FILE: _examples/file-server/favicon/main.go function main (line 7) | func main() { FILE: _examples/file-server/file-server/main.go function init (line 18) | func init() { constant maxSize (line 23) | maxSize = 1 * iris.GB constant uploadDir (line 24) | uploadDir = "./uploads" function main (line 27) | func main() { function index (line 87) | func index(ctx iris.Context) { function uploadView (line 91) | func uploadView(ctx iris.Context) { function upload (line 103) | func upload(ctx iris.Context) { function beforeSave (line 115) | func beforeSave(ctx iris.Context, file *multipart.FileHeader) bool { function deleteFile (line 124) | func deleteFile(ctx iris.Context) { FILE: _examples/file-server/http2push-embedded-gzipped/bindata.go function bindataRead (line 29) | func bindataRead(data, name string) ([]byte, error) { type asset (line 49) | type asset struct type bindataFileInfo (line 54) | type bindataFileInfo struct method Name (line 62) | func (fi bindataFileInfo) Name() string { method Size (line 67) | func (fi bindataFileInfo) Size() int64 { method Mode (line 72) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 77) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 82) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 87) | func (fi bindataFileInfo) Sys() any { type assetFile (line 91) | type assetFile struct method Close (line 135) | func (f *assetFile) Close() error { method Readdir (line 140) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 156) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 98) | type assetOperator struct method Open (line 101) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 164) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 173) | func AssetFile() http.FileSystem { function app2App2app3CssMainCssBytes (line 179) | func app2App2app3CssMainCssBytes() ([]byte, error) { function app2App2app3CssMainCss (line 186) | func app2App2app3CssMainCss() (*asset, error) { function app2App2app3DirsDir1TextTxtBytes (line 199) | func app2App2app3DirsDir1TextTxtBytes() ([]byte, error) { function app2App2app3DirsDir1TextTxt (line 206) | func app2App2app3DirsDir1TextTxt() (*asset, error) { function app2App2app3DirsDir2TextTxtBytes (line 219) | func app2App2app3DirsDir2TextTxtBytes() ([]byte, error) { function app2App2app3DirsDir2TextTxt (line 226) | func app2App2app3DirsDir2TextTxt() (*asset, error) { function app2App2app3DirsTextTxtBytes (line 239) | func app2App2app3DirsTextTxtBytes() ([]byte, error) { function app2App2app3DirsTextTxt (line 246) | func app2App2app3DirsTextTxt() (*asset, error) { function app2App2app3IndexHtmlBytes (line 259) | func app2App2app3IndexHtmlBytes() ([]byte, error) { function app2App2app3IndexHtml (line 266) | func app2App2app3IndexHtml() (*asset, error) { function app2IndexHtmlBytes (line 279) | func app2IndexHtmlBytes() ([]byte, error) { function app2IndexHtml (line 286) | func app2IndexHtml() (*asset, error) { function app2MydirTextTxtBytes (line 299) | func app2MydirTextTxtBytes() ([]byte, error) { function app2MydirTextTxt (line 306) | func app2MydirTextTxt() (*asset, error) { function cssMainCssBytes (line 319) | func cssMainCssBytes() ([]byte, error) { function cssMainCss (line 326) | func cssMainCss() (*asset, error) { function faviconIcoBytes (line 339) | func faviconIcoBytes() ([]byte, error) { function faviconIco (line 346) | func faviconIco() (*asset, error) { function indexHtmlBytes (line 359) | func indexHtmlBytes() ([]byte, error) { function indexHtml (line 366) | func indexHtml() (*asset, error) { function jsMainJsBytes (line 379) | func jsMainJsBytes() ([]byte, error) { function jsMainJs (line 386) | func jsMainJs() (*asset, error) { function Asset (line 400) | func Asset(name string) ([]byte, error) { function MustAsset (line 414) | func MustAsset(name string) []byte { function AssetInfo (line 426) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 439) | func AssetNames() []string { function AssetDir (line 477) | func AssetDir(name string) ([]string, error) { type bintree (line 499) | type bintree struct function RestoreAsset (line 537) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 562) | func RestoreAssets(dir, name string) error { function _filePath (line 578) | func _filePath(dir, name string) string { FILE: _examples/file-server/http2push-embedded-gzipped/main.go function main (line 32) | func main() { FILE: _examples/file-server/http2push-embedded/bindata.go function bindataRead (line 29) | func bindataRead(data, name string) ([]byte, error) { type asset (line 49) | type asset struct type bindataFileInfo (line 54) | type bindataFileInfo struct method Name (line 62) | func (fi bindataFileInfo) Name() string { method Size (line 67) | func (fi bindataFileInfo) Size() int64 { method Mode (line 72) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 77) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 82) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 87) | func (fi bindataFileInfo) Sys() any { type assetFile (line 91) | type assetFile struct method Close (line 135) | func (f *assetFile) Close() error { method Readdir (line 140) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 156) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 98) | type assetOperator struct method Open (line 101) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 164) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 173) | func AssetFile() http.FileSystem { function app2App2app3CssMainCssBytes (line 179) | func app2App2app3CssMainCssBytes() ([]byte, error) { function app2App2app3CssMainCss (line 186) | func app2App2app3CssMainCss() (*asset, error) { function app2App2app3DirsDir1TextTxtBytes (line 199) | func app2App2app3DirsDir1TextTxtBytes() ([]byte, error) { function app2App2app3DirsDir1TextTxt (line 206) | func app2App2app3DirsDir1TextTxt() (*asset, error) { function app2App2app3DirsDir2TextTxtBytes (line 219) | func app2App2app3DirsDir2TextTxtBytes() ([]byte, error) { function app2App2app3DirsDir2TextTxt (line 226) | func app2App2app3DirsDir2TextTxt() (*asset, error) { function app2App2app3DirsTextTxtBytes (line 239) | func app2App2app3DirsTextTxtBytes() ([]byte, error) { function app2App2app3DirsTextTxt (line 246) | func app2App2app3DirsTextTxt() (*asset, error) { function app2App2app3IndexHtmlBytes (line 259) | func app2App2app3IndexHtmlBytes() ([]byte, error) { function app2App2app3IndexHtml (line 266) | func app2App2app3IndexHtml() (*asset, error) { function app2IndexHtmlBytes (line 279) | func app2IndexHtmlBytes() ([]byte, error) { function app2IndexHtml (line 286) | func app2IndexHtml() (*asset, error) { function app2MydirTextTxtBytes (line 299) | func app2MydirTextTxtBytes() ([]byte, error) { function app2MydirTextTxt (line 306) | func app2MydirTextTxt() (*asset, error) { function cssMainCssBytes (line 319) | func cssMainCssBytes() ([]byte, error) { function cssMainCss (line 326) | func cssMainCss() (*asset, error) { function faviconIcoBytes (line 339) | func faviconIcoBytes() ([]byte, error) { function faviconIco (line 346) | func faviconIco() (*asset, error) { function indexHtmlBytes (line 359) | func indexHtmlBytes() ([]byte, error) { function indexHtml (line 366) | func indexHtml() (*asset, error) { function jsMainJsBytes (line 379) | func jsMainJsBytes() ([]byte, error) { function jsMainJs (line 386) | func jsMainJs() (*asset, error) { function Asset (line 400) | func Asset(name string) ([]byte, error) { function MustAsset (line 414) | func MustAsset(name string) []byte { function AssetInfo (line 426) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 439) | func AssetNames() []string { function AssetDir (line 477) | func AssetDir(name string) ([]string, error) { type bintree (line 499) | type bintree struct function RestoreAsset (line 537) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 562) | func RestoreAssets(dir, name string) error { function _filePath (line 578) | func _filePath(dir, name string) string { FILE: _examples/file-server/http2push-embedded/main.go function main (line 28) | func main() { FILE: _examples/file-server/http2push/assets/js/main.js function onClick (line 3) | function onClick() { FILE: _examples/file-server/http2push/main.go function main (line 39) | func main() { FILE: _examples/file-server/send-files/main.go function main (line 7) | func main() { function download (line 17) | func download(ctx iris.Context) { function downloadWithRateLimit (line 22) | func downloadWithRateLimit(ctx iris.Context) { FILE: _examples/file-server/single-page-application/basic/main.go function newApp (line 5) | func newApp() *iris.Application { function main (line 16) | func main() { FILE: _examples/file-server/single-page-application/basic/public/index.js method ViewComponent (line 16) | ViewComponent () { method render (line 20) | render (h) { return h(this.ViewComponent) } FILE: _examples/file-server/single-page-application/embedded-single-page-application-with-other-routes/bindata.go function bindataRead (line 21) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 41) | type asset struct type bindataFileInfo (line 46) | type bindataFileInfo struct method Name (line 54) | func (fi bindataFileInfo) Name() string { method Size (line 59) | func (fi bindataFileInfo) Size() int64 { method Mode (line 64) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 69) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 74) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 79) | func (fi bindataFileInfo) Sys() any { type assetFile (line 83) | type assetFile struct method Close (line 127) | func (f *assetFile) Close() error { method Readdir (line 132) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 148) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 90) | type assetOperator struct method Open (line 93) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 156) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 165) | func AssetFile() http.FileSystem { function appJsBytes (line 171) | func appJsBytes() ([]byte, error) { function appJs (line 178) | func appJs() (*asset, error) { function cssMainCssBytes (line 191) | func cssMainCssBytes() ([]byte, error) { function cssMainCss (line 198) | func cssMainCss() (*asset, error) { function indexHtmlBytes (line 211) | func indexHtmlBytes() ([]byte, error) { function indexHtml (line 218) | func indexHtml() (*asset, error) { function Asset (line 232) | func Asset(name string) ([]byte, error) { function MustAsset (line 246) | func MustAsset(name string) []byte { function AssetInfo (line 258) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 271) | func AssetNames() []string { function AssetDir (line 301) | func AssetDir(name string) ([]string, error) { type bintree (line 323) | type bintree struct function RestoreAsset (line 337) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 362) | func RestoreAssets(dir, name string) error { function _filePath (line 378) | func _filePath(dir, name string) string { FILE: _examples/file-server/single-page-application/embedded-single-page-application-with-other-routes/main.go function newApp (line 9) | func newApp() *iris.Application { function main (line 39) | func main() { FILE: _examples/file-server/single-page-application/embedded-single-page-application/bindata.go function bindataRead (line 23) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 43) | type asset struct type bindataFileInfo (line 48) | type bindataFileInfo struct method Name (line 56) | func (fi bindataFileInfo) Name() string { method Size (line 61) | func (fi bindataFileInfo) Size() int64 { method Mode (line 66) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 71) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 76) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 81) | func (fi bindataFileInfo) Sys() any { type assetFile (line 85) | type assetFile struct method Close (line 129) | func (f *assetFile) Close() error { method Readdir (line 134) | func (f *assetFile) Readdir(count int) ([]os.FileInfo, error) { method Stat (line 150) | func (f *assetFile) Stat() (os.FileInfo, error) { type assetOperator (line 92) | type assetOperator struct method Open (line 95) | func (f *assetOperator) Open(name string) (http.File, error) { function newDirFileInfo (line 158) | func newDirFileInfo(name string) os.FileInfo { function AssetFile (line 167) | func AssetFile() http.FileSystem { function publicAppJsBytes (line 173) | func publicAppJsBytes() ([]byte, error) { function publicAppJs (line 180) | func publicAppJs() (*asset, error) { function publicApp2IndexHtmlBytes (line 193) | func publicApp2IndexHtmlBytes() ([]byte, error) { function publicApp2IndexHtml (line 200) | func publicApp2IndexHtml() (*asset, error) { function publicCssMainCssBytes (line 213) | func publicCssMainCssBytes() ([]byte, error) { function publicCssMainCss (line 220) | func publicCssMainCss() (*asset, error) { function viewsIndexHtmlBytes (line 233) | func viewsIndexHtmlBytes() ([]byte, error) { function viewsIndexHtml (line 240) | func viewsIndexHtml() (*asset, error) { function Asset (line 254) | func Asset(name string) ([]byte, error) { function MustAsset (line 268) | func MustAsset(name string) []byte { function AssetInfo (line 280) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 293) | func AssetNames() []string { function AssetDir (line 324) | func AssetDir(name string) ([]string, error) { type bintree (line 346) | type bintree struct function RestoreAsset (line 367) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 392) | func RestoreAssets(dir, name string) error { function _filePath (line 408) | func _filePath(dir, name string) string { FILE: _examples/file-server/single-page-application/embedded-single-page-application/main.go function newApp (line 17) | func newApp() *iris.Application { function main (line 40) | func main() { FILE: _examples/file-server/single-page-application/embedded-single-page-application/main_test.go type resource (line 13) | type resource method contentType (line 15) | func (r resource) contentType() string { method String (line 26) | func (r resource) String() string { method strip (line 30) | func (r resource) strip(strip string) string { method loadFromBase (line 35) | func (r resource) loadFromBase(dir string) string { function TestSPAEmbedded (line 64) | func TestSPAEmbedded(t *testing.T) { FILE: _examples/file-server/spa-vue-router/main.go function main (line 7) | func main() { FILE: _examples/file-server/subdomain/main.go constant addr (line 8) | addr = "example.com:80" constant subdomain (line 9) | subdomain = "v1" function newApp (line 12) | func newApp() *iris.Application { function main (line 26) | func main() { FILE: _examples/file-server/subdomain/main_test.go type resource (line 12) | type resource method contentType (line 14) | func (r resource) contentType() string { method String (line 29) | func (r resource) String() string { method loadFromBase (line 33) | func (r resource) loadFromBase(dir string) string { function TestFileServerSubdomainBasic (line 53) | func TestFileServerSubdomainBasic(t *testing.T) { FILE: _examples/file-server/upload-file/main.go constant maxSize (line 14) | maxSize = 5 << 20 function main (line 16) | func main() { FILE: _examples/file-server/upload-files/main.go function main (line 15) | func main() { function newApp (line 21) | func newApp() *iris.Application { function beforeSave (line 86) | func beforeSave(ctx iris.Context, file *multipart.FileHeader) bool { FILE: _examples/file-server/upload-files/main_test.go function TestUploadFiles (line 10) | func TestUploadFiles(t *testing.T) { FILE: _examples/file-server/webdav/main.go function main (line 15) | func main() { FILE: _examples/graphql/schema-first/graph/generated.go function NewExecutableSchema (line 24) | func NewExecutableSchema(cfg Config) graphql.ExecutableSchema { type Config (line 32) | type Config struct type ResolverRoot (line 38) | type ResolverRoot interface type DirectiveRoot (line 43) | type DirectiveRoot struct type ComplexityRoot (line 46) | type ComplexityRoot struct type MutationResolver (line 64) | type MutationResolver interface type QueryResolver (line 67) | type QueryResolver interface type executableSchema (line 72) | type executableSchema struct method Schema (line 78) | func (e *executableSchema) Schema() *ast.Schema { method Complexity (line 82) | func (e *executableSchema) Complexity(typeName, field string, childCom... method Exec (line 155) | func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseH... type executionContext (line 200) | type executionContext struct method introspectSchema (line 205) | func (ec *executionContext) introspectSchema() (*introspection.Schema,... method introspectType (line 212) | func (ec *executionContext) introspectType(name string) (*introspectio... method field_Mutation_upsertCharacter_args (line 239) | func (ec *executionContext) field_Mutation_upsertCharacter_args(ctx co... method field_Query___type_args (line 254) | func (ec *executionContext) field_Query___type_args(ctx context.Contex... method field_Query_character_args (line 269) | func (ec *executionContext) field_Query_character_args(ctx context.Con... method field_Query_characters_args (line 284) | func (ec *executionContext) field_Query_characters_args(ctx context.Co... method field___Type_enumValues_args (line 299) | func (ec *executionContext) field___Type_enumValues_args(ctx context.C... method field___Type_fields_args (line 314) | func (ec *executionContext) field___Type_fields_args(ctx context.Conte... method _Character_id (line 337) | func (ec *executionContext) _Character_id(ctx context.Context, field g... method fieldContext_Character_id (line 368) | func (ec *executionContext) fieldContext_Character_id(ctx context.Cont... method _Character_name (line 381) | func (ec *executionContext) _Character_name(ctx context.Context, field... method fieldContext_Character_name (line 412) | func (ec *executionContext) fieldContext_Character_name(ctx context.Co... method _Character_isHero (line 425) | func (ec *executionContext) _Character_isHero(ctx context.Context, fie... method fieldContext_Character_isHero (line 456) | func (ec *executionContext) fieldContext_Character_isHero(ctx context.... method _Character_cliqueType (line 469) | func (ec *executionContext) _Character_cliqueType(ctx context.Context,... method fieldContext_Character_cliqueType (line 500) | func (ec *executionContext) fieldContext_Character_cliqueType(ctx cont... method _Mutation_upsertCharacter (line 513) | func (ec *executionContext) _Mutation_upsertCharacter(ctx context.Cont... method fieldContext_Mutation_upsertCharacter (line 543) | func (ec *executionContext) fieldContext_Mutation_upsertCharacter(ctx ... method _Query_character (line 577) | func (ec *executionContext) _Query_character(ctx context.Context, fiel... method fieldContext_Query_character (line 604) | func (ec *executionContext) fieldContext_Query_character(ctx context.C... method _Query_characters (line 638) | func (ec *executionContext) _Query_characters(ctx context.Context, fie... method fieldContext_Query_characters (line 665) | func (ec *executionContext) fieldContext_Query_characters(ctx context.... method _Query___type (line 699) | func (ec *executionContext) _Query___type(ctx context.Context, field g... method fieldContext_Query___type (line 726) | func (ec *executionContext) fieldContext_Query___type(ctx context.Cont... method _Query___schema (line 772) | func (ec *executionContext) _Query___schema(ctx context.Context, field... method fieldContext_Query___schema (line 799) | func (ec *executionContext) fieldContext_Query___schema(ctx context.Co... method ___Directive_name (line 826) | func (ec *executionContext) ___Directive_name(ctx context.Context, fie... method fieldContext___Directive_name (line 857) | func (ec *executionContext) fieldContext___Directive_name(ctx context.... method ___Directive_description (line 870) | func (ec *executionContext) ___Directive_description(ctx context.Conte... method fieldContext___Directive_description (line 898) | func (ec *executionContext) fieldContext___Directive_description(ctx c... method ___Directive_locations (line 911) | func (ec *executionContext) ___Directive_locations(ctx context.Context... method fieldContext___Directive_locations (line 942) | func (ec *executionContext) fieldContext___Directive_locations(ctx con... method ___Directive_args (line 955) | func (ec *executionContext) ___Directive_args(ctx context.Context, fie... method fieldContext___Directive_args (line 986) | func (ec *executionContext) fieldContext___Directive_args(ctx context.... method ___Directive_isRepeatable (line 1009) | func (ec *executionContext) ___Directive_isRepeatable(ctx context.Cont... method fieldContext___Directive_isRepeatable (line 1040) | func (ec *executionContext) fieldContext___Directive_isRepeatable(ctx ... method ___EnumValue_name (line 1053) | func (ec *executionContext) ___EnumValue_name(ctx context.Context, fie... method fieldContext___EnumValue_name (line 1084) | func (ec *executionContext) fieldContext___EnumValue_name(ctx context.... method ___EnumValue_description (line 1097) | func (ec *executionContext) ___EnumValue_description(ctx context.Conte... method fieldContext___EnumValue_description (line 1125) | func (ec *executionContext) fieldContext___EnumValue_description(ctx c... method ___EnumValue_isDeprecated (line 1138) | func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Cont... method fieldContext___EnumValue_isDeprecated (line 1169) | func (ec *executionContext) fieldContext___EnumValue_isDeprecated(ctx ... method ___EnumValue_deprecationReason (line 1182) | func (ec *executionContext) ___EnumValue_deprecationReason(ctx context... method fieldContext___EnumValue_deprecationReason (line 1210) | func (ec *executionContext) fieldContext___EnumValue_deprecationReason... method ___Field_name (line 1223) | func (ec *executionContext) ___Field_name(ctx context.Context, field g... method fieldContext___Field_name (line 1254) | func (ec *executionContext) fieldContext___Field_name(ctx context.Cont... method ___Field_description (line 1267) | func (ec *executionContext) ___Field_description(ctx context.Context, ... method fieldContext___Field_description (line 1295) | func (ec *executionContext) fieldContext___Field_description(ctx conte... method ___Field_args (line 1308) | func (ec *executionContext) ___Field_args(ctx context.Context, field g... method fieldContext___Field_args (line 1339) | func (ec *executionContext) fieldContext___Field_args(ctx context.Cont... method ___Field_type (line 1362) | func (ec *executionContext) ___Field_type(ctx context.Context, field g... method fieldContext___Field_type (line 1393) | func (ec *executionContext) fieldContext___Field_type(ctx context.Cont... method ___Field_isDeprecated (line 1428) | func (ec *executionContext) ___Field_isDeprecated(ctx context.Context,... method fieldContext___Field_isDeprecated (line 1459) | func (ec *executionContext) fieldContext___Field_isDeprecated(ctx cont... method ___Field_deprecationReason (line 1472) | func (ec *executionContext) ___Field_deprecationReason(ctx context.Con... method fieldContext___Field_deprecationReason (line 1500) | func (ec *executionContext) fieldContext___Field_deprecationReason(ctx... method ___InputValue_name (line 1513) | func (ec *executionContext) ___InputValue_name(ctx context.Context, fi... method fieldContext___InputValue_name (line 1544) | func (ec *executionContext) fieldContext___InputValue_name(ctx context... method ___InputValue_description (line 1557) | func (ec *executionContext) ___InputValue_description(ctx context.Cont... method fieldContext___InputValue_description (line 1585) | func (ec *executionContext) fieldContext___InputValue_description(ctx ... method ___InputValue_type (line 1598) | func (ec *executionContext) ___InputValue_type(ctx context.Context, fi... method fieldContext___InputValue_type (line 1629) | func (ec *executionContext) fieldContext___InputValue_type(ctx context... method ___InputValue_defaultValue (line 1664) | func (ec *executionContext) ___InputValue_defaultValue(ctx context.Con... method fieldContext___InputValue_defaultValue (line 1692) | func (ec *executionContext) fieldContext___InputValue_defaultValue(ctx... method ___Schema_description (line 1705) | func (ec *executionContext) ___Schema_description(ctx context.Context,... method fieldContext___Schema_description (line 1733) | func (ec *executionContext) fieldContext___Schema_description(ctx cont... method ___Schema_types (line 1746) | func (ec *executionContext) ___Schema_types(ctx context.Context, field... method fieldContext___Schema_types (line 1777) | func (ec *executionContext) fieldContext___Schema_types(ctx context.Co... method ___Schema_queryType (line 1812) | func (ec *executionContext) ___Schema_queryType(ctx context.Context, f... method fieldContext___Schema_queryType (line 1843) | func (ec *executionContext) fieldContext___Schema_queryType(ctx contex... method ___Schema_mutationType (line 1878) | func (ec *executionContext) ___Schema_mutationType(ctx context.Context... method fieldContext___Schema_mutationType (line 1906) | func (ec *executionContext) fieldContext___Schema_mutationType(ctx con... method ___Schema_subscriptionType (line 1941) | func (ec *executionContext) ___Schema_subscriptionType(ctx context.Con... method fieldContext___Schema_subscriptionType (line 1969) | func (ec *executionContext) fieldContext___Schema_subscriptionType(ctx... method ___Schema_directives (line 2004) | func (ec *executionContext) ___Schema_directives(ctx context.Context, ... method fieldContext___Schema_directives (line 2035) | func (ec *executionContext) fieldContext___Schema_directives(ctx conte... method ___Type_kind (line 2060) | func (ec *executionContext) ___Type_kind(ctx context.Context, field gr... method fieldContext___Type_kind (line 2091) | func (ec *executionContext) fieldContext___Type_kind(ctx context.Conte... method ___Type_name (line 2104) | func (ec *executionContext) ___Type_name(ctx context.Context, field gr... method fieldContext___Type_name (line 2132) | func (ec *executionContext) fieldContext___Type_name(ctx context.Conte... method ___Type_description (line 2145) | func (ec *executionContext) ___Type_description(ctx context.Context, f... method fieldContext___Type_description (line 2173) | func (ec *executionContext) fieldContext___Type_description(ctx contex... method ___Type_fields (line 2186) | func (ec *executionContext) ___Type_fields(ctx context.Context, field ... method fieldContext___Type_fields (line 2214) | func (ec *executionContext) fieldContext___Type_fields(ctx context.Con... method ___Type_interfaces (line 2252) | func (ec *executionContext) ___Type_interfaces(ctx context.Context, fi... method fieldContext___Type_interfaces (line 2280) | func (ec *executionContext) fieldContext___Type_interfaces(ctx context... method ___Type_possibleTypes (line 2315) | func (ec *executionContext) ___Type_possibleTypes(ctx context.Context,... method fieldContext___Type_possibleTypes (line 2343) | func (ec *executionContext) fieldContext___Type_possibleTypes(ctx cont... method ___Type_enumValues (line 2378) | func (ec *executionContext) ___Type_enumValues(ctx context.Context, fi... method fieldContext___Type_enumValues (line 2406) | func (ec *executionContext) fieldContext___Type_enumValues(ctx context... method ___Type_inputFields (line 2440) | func (ec *executionContext) ___Type_inputFields(ctx context.Context, f... method fieldContext___Type_inputFields (line 2468) | func (ec *executionContext) fieldContext___Type_inputFields(ctx contex... method ___Type_ofType (line 2491) | func (ec *executionContext) ___Type_ofType(ctx context.Context, field ... method fieldContext___Type_ofType (line 2519) | func (ec *executionContext) fieldContext___Type_ofType(ctx context.Con... method ___Type_specifiedByURL (line 2554) | func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context... method fieldContext___Type_specifiedByURL (line 2582) | func (ec *executionContext) fieldContext___Type_specifiedByURL(ctx con... method unmarshalInputCharacterInput (line 2599) | func (ec *executionContext) unmarshalInputCharacterInput(ctx context.C... method _Character (line 2661) | func (ec *executionContext) _Character(ctx context.Context, sel ast.Se... method _Mutation (line 2710) | func (ec *executionContext) _Mutation(ctx context.Context, sel ast.Sel... method _Query (line 2742) | func (ec *executionContext) _Query(ctx context.Context, sel ast.Select... method ___Directive (line 2820) | func (ec *executionContext) ___Directive(ctx context.Context, sel ast.... method ___EnumValue (line 2873) | func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.... method ___Field (line 2916) | func (ec *executionContext) ___Field(ctx context.Context, sel ast.Sele... method ___InputValue (line 2973) | func (ec *executionContext) ___InputValue(ctx context.Context, sel ast... method ___Schema (line 3016) | func (ec *executionContext) ___Schema(ctx context.Context, sel ast.Sel... method ___Type (line 3070) | func (ec *executionContext) ___Type(ctx context.Context, sel ast.Selec... method unmarshalNBoolean2bool (line 3136) | func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context... method marshalNBoolean2bool (line 3141) | func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, ... method marshalNCharacter2githubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCharacter (line 3151) | func (ec *executionContext) marshalNCharacter2githubᚗcomᚋirisᚑcontribᚋ... method marshalNCharacter2ᚖgithubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCharacter (line 3155) | func (ec *executionContext) marshalNCharacter2ᚖgithubᚗcomᚋirisᚑcontrib... method unmarshalNCharacterInput2githubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCharacterInput (line 3165) | func (ec *executionContext) unmarshalNCharacterInput2githubᚗcomᚋirisᚑc... method unmarshalNCliqueType2githubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCliqueType (line 3170) | func (ec *executionContext) unmarshalNCliqueType2githubᚗcomᚋirisᚑcontr... method marshalNCliqueType2githubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCliqueType (line 3176) | func (ec *executionContext) marshalNCliqueType2githubᚗcomᚋirisᚑcontrib... method unmarshalNID2string (line 3180) | func (ec *executionContext) unmarshalNID2string(ctx context.Context, v... method marshalNID2string (line 3185) | func (ec *executionContext) marshalNID2string(ctx context.Context, sel... method unmarshalNString2string (line 3195) | func (ec *executionContext) unmarshalNString2string(ctx context.Contex... method marshalNString2string (line 3200) | func (ec *executionContext) marshalNString2string(ctx context.Context,... method marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective (line 3210) | func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋg... method marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ (line 3214) | func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋ... method unmarshalN__DirectiveLocation2string (line 3258) | func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx c... method marshalN__DirectiveLocation2string (line 3263) | func (ec *executionContext) marshalN__DirectiveLocation2string(ctx con... method unmarshalN__DirectiveLocation2ᚕstringᚄ (line 3273) | func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx... method marshalN__DirectiveLocation2ᚕstringᚄ (line 3290) | func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx c... method marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue (line 3334) | func (ec *executionContext) marshalN__EnumValue2githubᚗcomᚋ99designsᚋg... method marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField (line 3338) | func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlge... method marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue (line 3342) | func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋ... method marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ (line 3346) | func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designs... method marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType (line 3390) | func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgen... method marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ (line 3394) | func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlge... method marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType (line 3438) | func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlge... method unmarshalN__TypeKind2string (line 3448) | func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Co... method marshalN__TypeKind2string (line 3453) | func (ec *executionContext) marshalN__TypeKind2string(ctx context.Cont... method unmarshalOBoolean2bool (line 3463) | func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context... method marshalOBoolean2bool (line 3468) | func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, ... method unmarshalOBoolean2ᚖbool (line 3473) | func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Contex... method marshalOBoolean2ᚖbool (line 3481) | func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context,... method marshalOCharacter2ᚕᚖgithubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCharacterᚄ (line 3489) | func (ec *executionContext) marshalOCharacter2ᚕᚖgithubᚗcomᚋirisᚑcontri... method marshalOCharacter2ᚖgithubᚗcomᚋirisᚑcontribᚋouterbanksᚑapiᚋgraphᚋgraphᚋmodelᚐCharacter (line 3536) | func (ec *executionContext) marshalOCharacter2ᚖgithubᚗcomᚋirisᚑcontrib... method unmarshalOString2ᚖstring (line 3543) | func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Conte... method marshalOString2ᚖstring (line 3551) | func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context... method marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ (line 3559) | func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋ... method marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ (line 3606) | func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlg... method marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ (line 3653) | func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designs... method marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema (line 3700) | func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgql... method marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ (line 3707) | func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlge... method marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType (line 3754) | func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlge... function sourceData (line 222) | func sourceData(filename string) string { FILE: _examples/graphql/schema-first/graph/model/models_gen.go type Character (line 11) | type Character struct type CharacterInput (line 18) | type CharacterInput struct type CliqueType (line 25) | type CliqueType method IsValid (line 39) | func (e CliqueType) IsValid() bool { method String (line 47) | func (e CliqueType) String() string { method UnmarshalGQL (line 51) | func (e *CliqueType) UnmarshalGQL(v any) error { method MarshalGQL (line 64) | func (e CliqueType) MarshalGQL(w io.Writer) { constant CliqueTypeKooks (line 29) | CliqueTypeKooks CliqueType = "KOOKS" constant CliqueTypePogues (line 31) | CliqueTypePogues CliqueType = "POGUES" FILE: _examples/graphql/schema-first/graph/resolver.go type Resolver (line 9) | type Resolver struct FILE: _examples/graphql/schema-first/graph/schema.resolvers.go method Mutation (line 71) | func (r *Resolver) Mutation() MutationResolver { return &mutationResolve... method Query (line 74) | func (r *Resolver) Query() QueryResolver { return &queryResolver{r} } type mutationResolver (line 76) | type mutationResolver struct method UpsertCharacter (line 14) | func (r *mutationResolver) UpsertCharacter(ctx context.Context, input ... type queryResolver (line 77) | type queryResolver struct method Character (line 49) | func (r *queryResolver) Character(ctx context.Context, id string) (*mo... method Characters (line 57) | func (r *queryResolver) Characters(ctx context.Context, cliqueType mod... FILE: _examples/graphql/schema-first/server.go function main (line 13) | func main() { FILE: _examples/http-client/weatherapi/client/client.go constant BaseURL (line 12) | BaseURL = "https://api.weatherapi.com/v1" type Options (line 15) | type Options struct type Client (line 19) | type Client struct method GetCurrentByCity (line 36) | func (c *Client) GetCurrentByCity(ctx context.Context, city string) (r... function NewClient (line 24) | func NewClient(opts Options) *Client { FILE: _examples/http-client/weatherapi/client/response.go type Response (line 3) | type Response struct FILE: _examples/http-client/weatherapi/main.go function main (line 10) | func main() { FILE: _examples/http-server/custom-httpserver/easy-way/main.go function main (line 9) | func main() { FILE: _examples/http-server/custom-httpserver/multi/main.go function main (line 9) | func main() { FILE: _examples/http-server/custom-httpserver/std-way/main.go function main (line 9) | func main() { FILE: _examples/http-server/custom-listener/main.go function main (line 9) | func main() { FILE: _examples/http-server/graceful-shutdown/custom-notifier/main.go function main (line 13) | func main() { FILE: _examples/http-server/graceful-shutdown/default-notifier/main.go function main (line 17) | func main() { FILE: _examples/http-server/h2c/main.go function main (line 24) | func main() { function index (line 50) | func index(ctx iris.Context) { FILE: _examples/http-server/http3-quic/main.go function main (line 13) | func main() { FILE: _examples/http-server/iris-configurator-and-host-configurator/main.go function main (line 7) | func main() { FILE: _examples/http-server/listen-addr-public/main.go function main (line 5) | func main() { FILE: _examples/http-server/listen-addr/main.go function main (line 5) | func main() { FILE: _examples/http-server/listen-addr/omit-server-errors/main.go function main (line 7) | func main() { FILE: _examples/http-server/listen-addr/omit-server-errors/main_test.go function logger (line 13) | func logger(app *iris.Application) *bytes.Buffer { function TestListenAddr (line 24) | func TestListenAddr(t *testing.T) { function TestListenAddrWithoutServerErr (line 50) | func TestListenAddrWithoutServerErr(t *testing.T) { FILE: _examples/http-server/listen-letsencrypt/main.go function main (line 8) | func main() { FILE: _examples/http-server/listen-tls/main.go function main (line 7) | func main() { FILE: _examples/http-server/listen-unix/main.go function main (line 8) | func main() { FILE: _examples/http-server/notify-on-shutdown/main.go function main (line 10) | func main() { function onServerShutdown (line 47) | func onServerShutdown() { function configureHost (line 51) | func configureHost(su *iris.Supervisor) { FILE: _examples/http-server/socket-sharding/main.go function main (line 9) | func main() { FILE: _examples/http-server/timeout/main.go function main (line 10) | func main() { type worker (line 22) | type worker struct method Work (line 24) | func (w *worker) Work(ctx context.Context) string { FILE: _examples/i18n/basic/main.go function newApp (line 14) | func newApp() *iris.Application { function main (line 104) | func main() { FILE: _examples/i18n/basic/main_test.go function TestI18n (line 11) | func TestI18n(t *testing.T) { FILE: _examples/i18n/plurals/main.go constant female (line 10) | female = iota + 1 constant male (line 11) | male constant tableStyle (line 14) | tableStyle = ` function main (line 81) | func main() { function tr (line 172) | func tr(ctx iris.Context, key string, args ...any) { FILE: _examples/i18n/plurals/main_test.go constant female (line 12) | female = iota + 1 constant male (line 13) | male function TestI18nPlurals (line 16) | func TestI18nPlurals(t *testing.T) { function tr (line 128) | func tr(ctx iris.Context, key string, args ...any) { FILE: _examples/i18n/template-embedded/main.go function main (line 14) | func main() { function newApp (line 29) | func newApp() *iris.Application { FILE: _examples/i18n/template-embedded/main_test.go function TestI18nLoaderFuncMap (line 9) | func TestI18nLoaderFuncMap(t *testing.T) { FILE: _examples/i18n/template/main.go function main (line 15) | func main() { function newApp (line 20) | func newApp() *iris.Application { FILE: _examples/i18n/template/main_test.go function TestI18nLoaderFuncMap (line 9) | func TestI18nLoaderFuncMap(t *testing.T) { FILE: _examples/kafka-api/main.go function getenv (line 40) | func getenv(key string, def string) string { function init (line 48) | func init() { function main (line 67) | func main() { function docsHandler (line 94) | func docsHandler(ctx iris.Context) { type httpError (line 138) | type httpError struct method Error (line 143) | func (h httpError) Error() string { function fail (line 147) | func fail(ctx iris.Context, statusCode int, format string, a ...any) { function handleNotFound (line 161) | func handleNotFound(ctx iris.Context) { type Topic (line 176) | type Topic struct type kv (line 183) | type kv struct function createKafkaTopic (line 188) | func createKafkaTopic(t Topic) error { function postTopicsHandler (line 211) | func postTopicsHandler(ctx iris.Context) { function getKafkaTopics (line 232) | func getKafkaTopics() ([]string, error) { function getTopicsHandler (line 242) | func getTopicsHandler(ctx iris.Context) { function produceKafkaMessage (line 253) | func produceKafkaMessage(toTopic string, key string, value []byte) (part... function postTopicProduceHandler (line 274) | func postTopicProduceHandler(ctx iris.Context) { type message (line 296) | type message struct function getTopicConsumeSSEHandler (line 304) | func getTopicConsumeSSEHandler(ctx iris.Context) { FILE: _examples/logging/file-logger/main.go function main (line 10) | func main() { function todayFilename (line 34) | func todayFilename() string { function newLogFile (line 39) | func newLogFile() *os.File { FILE: _examples/logging/json-logger/main.go function main (line 10) | func main() { function ping (line 60) | func ping(ctx iris.Context) { FILE: _examples/logging/json-logger/main_test.go function TestJSONLogger (line 18) | func TestJSONLogger(t *testing.T) { function getSourceDirPath (line 65) | func getSourceDirPath() string { FILE: _examples/logging/request-logger/accesslog-broker/main.go function main (line 12) | func main() { function notFoundHandler (line 55) | func notFoundHandler(ctx iris.Context) { function indexHandler (line 71) | func indexHandler(ctx iris.Context) { function profileHandler (line 75) | func profileHandler(ctx iris.Context) { function readBodyHandler (line 80) | func readBodyHandler(ctx iris.Context) { function testPanic (line 90) | func testPanic(ctx iris.Context) { function logsHandler (line 94) | func logsHandler(b *accesslog.Broker) iris.Handler { FILE: _examples/logging/request-logger/accesslog-csv/main.go function main (line 10) | func main() { function index (line 26) | func index(ctx iris.Context) { FILE: _examples/logging/request-logger/accesslog-formatter/main.go function logFields (line 18) | func logFields(ctx iris.Context, fields *accesslog.Fields) { function main (line 22) | func main() { function notFound (line 42) | func notFound(ctx iris.Context) { function index (line 46) | func index(ctx iris.Context) { type customFormatter (line 50) | type customFormatter struct method SetOutput (line 64) | func (f *customFormatter) SetOutput(dest io.Writer) { method Format (line 79) | func (f *customFormatter) Format(log *accesslog.Log) (bool, error) { method writeTextOrBlank (line 113) | func (f *customFormatter) writeTextOrBlank(buf *bytes.Buffer, s string) { function newCustomFormatter (line 60) | func newCustomFormatter(delim byte, blank string) *customFormatter { constant newLine (line 77) | newLine = '\n' function uniformDuration (line 127) | func uniformDuration(t time.Duration) string { FILE: _examples/logging/request-logger/accesslog-proxy/main.go function main (line 21) | func main() { function index (line 77) | func index(ctx iris.Context) { function newProxyHandler (line 81) | func newProxyHandler(proxyURL string) iris.Handler { FILE: _examples/logging/request-logger/accesslog-proxy/target/main.go function main (line 6) | func main() { function readWriteHandler (line 19) | func readWriteHandler(ctx iris.Context) { function getHandler (line 29) | func getHandler(ctx iris.Context) { FILE: _examples/logging/request-logger/accesslog-simple/main.go function makeAccessLog (line 9) | func makeAccessLog() *accesslog.AccessLog { function main (line 42) | func main() { function indexHandler (line 55) | func indexHandler(ctx iris.Context) { FILE: _examples/logging/request-logger/accesslog-slack/main.go function main (line 19) | func main() { function index (line 36) | func index(ctx iris.Context) { FILE: _examples/logging/request-logger/accesslog-slack/slack_formatter.go type Slack (line 11) | type Slack struct method SetOutput (line 35) | func (f *Slack) SetOutput(dest io.Writer) { method Format (line 56) | func (f *Slack) Format(log *accesslog.Log) (bool, error) { FILE: _examples/logging/request-logger/accesslog-template/main.go function main (line 9) | func main() { function index (line 42) | func index(ctx iris.Context) { FILE: _examples/logging/request-logger/accesslog/main.go function makeAccessLog (line 21) | func makeAccessLog() *accesslog.AccessLog { function main (line 99) | func main() { function readBodyHandler (line 132) | func readBodyHandler(ctx iris.Context) { function userHandler (line 142) | func userHandler(ctx iris.Context) { function htmlResponse (line 146) | func htmlResponse(ctx iris.Context) { function adminHandler (line 150) | func adminHandler(ctx iris.Context) { function sessionHandler (line 156) | func sessionHandler(ctx iris.Context) { type user (line 163) | type user struct method String (line 169) | func (u user) String() string { function fieldsHandler (line 173) | func fieldsHandler(ctx iris.Context) { FILE: _examples/logging/rollbar/main.go function init (line 17) | func init() { function main (line 37) | func main() { function index (line 99) | func index(ctx iris.Context) { function panicMe (line 105) | func panicMe(ctx iris.Context) { FILE: _examples/monitor/monitor-middleware/main.go function main (line 11) | func main() { function handler (line 62) | func handler(ctx iris.Context) { FILE: _examples/monitor/statsviz/main.go function main (line 13) | func main() { function index (line 38) | func index(ctx iris.Context) { FILE: _examples/mvc/authenticated-controller/main.go function main (line 17) | func main() { function newApp (line 30) | func newApp() *iris.Application { type Authenticated (line 60) | type Authenticated function authDependency (line 62) | func authDependency(ctx iris.Context, session *sessions.Session) Authent... type UnauthenticatedUserController (line 85) | type UnauthenticatedUserController struct method Get (line 89) | func (c *UnauthenticatedUserController) Get() string { method PostLogin (line 95) | func (c *UnauthenticatedUserController) PostLogin(session *sessions.Se... type UserController (line 106) | type UserController struct method Get (line 112) | func (c *UserController) Get() string { method PostLogout (line 119) | func (c *UserController) PostLogout(ctx iris.Context) { FILE: _examples/mvc/authenticated-controller/main_test.go function TestMVCOverlapping (line 9) | func TestMVCOverlapping(t *testing.T) { FILE: _examples/mvc/basic/main.go function main (line 14) | func main() { function basicMVC (line 33) | func basicMVC(app *mvc.Application) { type LoggerService (line 73) | type LoggerService interface type prefixedLogger (line 77) | type prefixedLogger struct method Log (line 81) | func (s *prefixedLogger) Log(msg string) { type basicController (line 85) | type basicController struct method BeforeActivation (line 91) | func (c *basicController) BeforeActivation(b mvc.BeforeActivation) { method AfterActivation (line 95) | func (c *basicController) AfterActivation(a mvc.AfterActivation) { method Get (line 101) | func (c *basicController) Get() string { method Custom (line 110) | func (c *basicController) Custom() string { type basicSubController (line 114) | type basicSubController struct method Get (line 118) | func (c *basicSubController) Get() string { FILE: _examples/mvc/basic/wildcard/main.go function main (line 8) | func main() { type myController (line 31) | type myController struct method GetByWildcard (line 37) | func (c *myController) GetByWildcard(wildcardPathParameter string) res... type response (line 33) | type response struct FILE: _examples/mvc/error-handler-custom-result/main.go function main (line 8) | func main() { type errorResponse (line 18) | type errorResponse struct method Dispatch (line 33) | func (e errorResponse) Dispatch(ctx iris.Context) { type controller (line 58) | type controller struct method GetBy (line 64) | func (c *controller) GetBy(userid uint64) mvc.Result { type user (line 60) | type user struct FILE: _examples/mvc/error-handler-hijack/main.go function main (line 8) | func main() { function errorView (line 31) | func errorView(e errorResponse) mvc.Result { type errorResponse (line 40) | type errorResponse struct type controller (line 45) | type controller struct method GetBy (line 51) | func (c *controller) GetBy(userid uint64) any { type user (line 47) | type user struct FILE: _examples/mvc/error-handler-http/main.go function main (line 10) | func main() { function newApp (line 16) | func newApp() *iris.Application { type controller (line 26) | type controller struct method Get (line 28) | func (c *controller) Get() string { method GetError (line 32) | func (c *controller) GetError() mvc.Result { method HandleHTTPError (line 52) | func (c *controller) HandleHTTPError(statusCode mvc.Code, err mvc.Err)... FILE: _examples/mvc/error-handler-http/main_test.go function TestControllerHandleHTTPError (line 9) | func TestControllerHandleHTTPError(t *testing.T) { FILE: _examples/mvc/error-handler-preflight/main.go function main (line 11) | func main() { type controller (line 21) | type controller struct method GetBy (line 67) | func (c *controller) GetBy(userid uint64) *response { type response (line 24) | type response struct method Preflight (line 32) | func (r *response) Preflight(ctx iris.Context) error { type user (line 63) | type user struct FILE: _examples/mvc/error-handler/main.go function main (line 11) | func main() { type myController (line 29) | type myController struct method HandleError (line 33) | func (c *myController) HandleError(ctx iris.Context, err error) { method Get (line 37) | func (c *myController) Get() error { FILE: _examples/mvc/grpc-compatible-bidirectional-stream/client/main.go function main (line 13) | func main() { FILE: _examples/mvc/grpc-compatible-bidirectional-stream/helloworld/helloworld.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type HelloRequest (line 29) | type HelloRequest struct method Reset (line 37) | func (x *HelloRequest) Reset() { method String (line 46) | func (x *HelloRequest) String() string { method ProtoMessage (line 50) | func (*HelloRequest) ProtoMessage() {} method ProtoReflect (line 52) | func (x *HelloRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 65) | func (*HelloRequest) Descriptor() ([]byte, []int) { method GetName (line 69) | func (x *HelloRequest) GetName() string { type HelloReply (line 77) | type HelloReply struct method Reset (line 85) | func (x *HelloReply) Reset() { method String (line 94) | func (x *HelloReply) String() string { method ProtoMessage (line 98) | func (*HelloReply) ProtoMessage() {} method ProtoReflect (line 100) | func (x *HelloReply) ProtoReflect() protoreflect.Message { method Descriptor (line 113) | func (*HelloReply) Descriptor() ([]byte, []int) { method GetMessage (line 117) | func (x *HelloReply) GetMessage() string { function file_helloworld_proto_rawDescGZIP (line 165) | func file_helloworld_proto_rawDescGZIP() []byte { function init (line 193) | func init() { file_helloworld_proto_init() } function file_helloworld_proto_init (line 194) | func file_helloworld_proto_init() { FILE: _examples/mvc/grpc-compatible-bidirectional-stream/helloworld/helloworld_grpc.pb.go constant _ (line 14) | _ = grpc.SupportPackageIsVersion7 type GreeterClient (line 19) | type GreeterClient interface type greeterClient (line 24) | type greeterClient struct method SayHello (line 32) | func (c *greeterClient) SayHello(ctx context.Context, in *HelloRequest... function NewGreeterClient (line 28) | func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient { type GreeterServer (line 44) | type GreeterServer interface type UnimplementedGreeterServer (line 51) | type UnimplementedGreeterServer struct method SayHello (line 54) | func (UnimplementedGreeterServer) SayHello(context.Context, *HelloRequ... method mustEmbedUnimplementedGreeterServer (line 57) | func (UnimplementedGreeterServer) mustEmbedUnimplementedGreeterServer(... type UnsafeGreeterServer (line 62) | type UnsafeGreeterServer interface function RegisterGreeterServer (line 66) | func RegisterGreeterServer(s grpc.ServiceRegistrar, srv GreeterServer) { function _Greeter_SayHello_Handler (line 70) | func _Greeter_SayHello_Handler(srv any, ctx context.Context, dec func(an... type GreeterServerSideSStreamClient (line 104) | type GreeterServerSideSStreamClient interface type greeterServerSideSStreamClient (line 109) | type greeterServerSideSStreamClient struct method SayHello (line 117) | func (c *greeterServerSideSStreamClient) SayHello(ctx context.Context,... function NewGreeterServerSideSStreamClient (line 113) | func NewGreeterServerSideSStreamClient(cc grpc.ClientConnInterface) Gree... type GreeterServerSideSStream_SayHelloClient (line 132) | type GreeterServerSideSStream_SayHelloClient interface type greeterServerSideSStreamSayHelloClient (line 137) | type greeterServerSideSStreamSayHelloClient struct method Recv (line 141) | func (x *greeterServerSideSStreamSayHelloClient) Recv() (*HelloReply, ... type GreeterServerSideSStreamServer (line 152) | type GreeterServerSideSStreamServer interface type UnimplementedGreeterServerSideSStreamServer (line 159) | type UnimplementedGreeterServerSideSStreamServer struct method SayHello (line 162) | func (UnimplementedGreeterServerSideSStreamServer) SayHello(*HelloRequ... method mustEmbedUnimplementedGreeterServerSideSStreamServer (line 165) | func (UnimplementedGreeterServerSideSStreamServer) mustEmbedUnimplemen... type UnsafeGreeterServerSideSStreamServer (line 171) | type UnsafeGreeterServerSideSStreamServer interface function RegisterGreeterServerSideSStreamServer (line 175) | func RegisterGreeterServerSideSStreamServer(s grpc.ServiceRegistrar, srv... function _GreeterServerSideSStream_SayHello_Handler (line 179) | func _GreeterServerSideSStream_SayHello_Handler(srv any, stream grpc.Ser... type GreeterServerSideSStream_SayHelloServer (line 187) | type GreeterServerSideSStream_SayHelloServer interface type greeterServerSideSStreamSayHelloServer (line 192) | type greeterServerSideSStreamSayHelloServer struct method Send (line 196) | func (x *greeterServerSideSStreamSayHelloServer) Send(m *HelloReply) e... type GreeterClientSideStreamClient (line 217) | type GreeterClientSideStreamClient interface type greeterClientSideStreamClient (line 222) | type greeterClientSideStreamClient struct method SayHello (line 230) | func (c *greeterClientSideStreamClient) SayHello(ctx context.Context, ... function NewGreeterClientSideStreamClient (line 226) | func NewGreeterClientSideStreamClient(cc grpc.ClientConnInterface) Greet... type GreeterClientSideStream_SayHelloClient (line 239) | type GreeterClientSideStream_SayHelloClient interface type greeterClientSideStreamSayHelloClient (line 245) | type greeterClientSideStreamSayHelloClient struct method Send (line 249) | func (x *greeterClientSideStreamSayHelloClient) Send(m *HelloRequest) ... method CloseAndRecv (line 253) | func (x *greeterClientSideStreamSayHelloClient) CloseAndRecv() (*Hello... type GreeterClientSideStreamServer (line 267) | type GreeterClientSideStreamServer interface type UnimplementedGreeterClientSideStreamServer (line 274) | type UnimplementedGreeterClientSideStreamServer struct method SayHello (line 277) | func (UnimplementedGreeterClientSideStreamServer) SayHello(GreeterClie... method mustEmbedUnimplementedGreeterClientSideStreamServer (line 280) | func (UnimplementedGreeterClientSideStreamServer) mustEmbedUnimplement... type UnsafeGreeterClientSideStreamServer (line 286) | type UnsafeGreeterClientSideStreamServer interface function RegisterGreeterClientSideStreamServer (line 290) | func RegisterGreeterClientSideStreamServer(s grpc.ServiceRegistrar, srv ... function _GreeterClientSideStream_SayHello_Handler (line 294) | func _GreeterClientSideStream_SayHello_Handler(srv any, stream grpc.Serv... type GreeterClientSideStream_SayHelloServer (line 298) | type GreeterClientSideStream_SayHelloServer interface type greeterClientSideStreamSayHelloServer (line 304) | type greeterClientSideStreamSayHelloServer struct method SendAndClose (line 308) | func (x *greeterClientSideStreamSayHelloServer) SendAndClose(m *HelloR... method Recv (line 312) | func (x *greeterClientSideStreamSayHelloServer) Recv() (*HelloRequest,... type GreeterBidirectionalStreamClient (line 337) | type GreeterBidirectionalStreamClient interface type greeterBidirectionalStreamClient (line 342) | type greeterBidirectionalStreamClient struct method SayHello (line 350) | func (c *greeterBidirectionalStreamClient) SayHello(ctx context.Contex... function NewGreeterBidirectionalStreamClient (line 346) | func NewGreeterBidirectionalStreamClient(cc grpc.ClientConnInterface) Gr... type GreeterBidirectionalStream_SayHelloClient (line 359) | type GreeterBidirectionalStream_SayHelloClient interface type greeterBidirectionalStreamSayHelloClient (line 365) | type greeterBidirectionalStreamSayHelloClient struct method Send (line 369) | func (x *greeterBidirectionalStreamSayHelloClient) Send(m *HelloReques... method Recv (line 373) | func (x *greeterBidirectionalStreamSayHelloClient) Recv() (*HelloReply... type GreeterBidirectionalStreamServer (line 384) | type GreeterBidirectionalStreamServer interface type UnimplementedGreeterBidirectionalStreamServer (line 391) | type UnimplementedGreeterBidirectionalStreamServer struct method SayHello (line 394) | func (UnimplementedGreeterBidirectionalStreamServer) SayHello(GreeterB... method mustEmbedUnimplementedGreeterBidirectionalStreamServer (line 397) | func (UnimplementedGreeterBidirectionalStreamServer) mustEmbedUnimplem... type UnsafeGreeterBidirectionalStreamServer (line 403) | type UnsafeGreeterBidirectionalStreamServer interface function RegisterGreeterBidirectionalStreamServer (line 407) | func RegisterGreeterBidirectionalStreamServer(s grpc.ServiceRegistrar, s... function _GreeterBidirectionalStream_SayHello_Handler (line 411) | func _GreeterBidirectionalStream_SayHello_Handler(srv any, stream grpc.S... type GreeterBidirectionalStream_SayHelloServer (line 415) | type GreeterBidirectionalStream_SayHelloServer interface type greeterBidirectionalStreamSayHelloServer (line 421) | type greeterBidirectionalStreamSayHelloServer struct method Send (line 425) | func (x *greeterBidirectionalStreamSayHelloServer) Send(m *HelloReply)... method Recv (line 429) | func (x *greeterBidirectionalStreamSayHelloServer) Recv() (*HelloReque... FILE: _examples/mvc/grpc-compatible-bidirectional-stream/server/main.go type Greeter (line 14) | type Greeter struct method SayHello (line 19) | func (g *Greeter) SayHello(stream pb.GreeterBidirectionalStream_SayHel... function main (line 34) | func main() { FILE: _examples/mvc/grpc-compatible/grpc-client/main.go constant address (line 18) | address = "localhost:443" constant defaultName (line 19) | defaultName = "world" function main (line 22) | func main() { FILE: _examples/mvc/grpc-compatible/helloworld/helloworld.pb.go constant _ (line 36) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 38) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type HelloRequest (line 42) | type HelloRequest struct method Reset (line 50) | func (x *HelloRequest) Reset() { method String (line 59) | func (x *HelloRequest) String() string { method ProtoMessage (line 63) | func (*HelloRequest) ProtoMessage() {} method ProtoReflect (line 65) | func (x *HelloRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 78) | func (*HelloRequest) Descriptor() ([]byte, []int) { method GetName (line 82) | func (x *HelloRequest) GetName() string { type HelloReply (line 90) | type HelloReply struct method Reset (line 98) | func (x *HelloReply) Reset() { method String (line 107) | func (x *HelloReply) String() string { method ProtoMessage (line 111) | func (*HelloReply) ProtoMessage() {} method ProtoReflect (line 113) | func (x *HelloReply) ProtoReflect() protoreflect.Message { method Descriptor (line 126) | func (*HelloReply) Descriptor() ([]byte, []int) { method GetMessage (line 130) | func (x *HelloReply) GetMessage() string { function file_helloworld_proto_rawDescGZIP (line 162) | func file_helloworld_proto_rawDescGZIP() []byte { function init (line 184) | func init() { file_helloworld_proto_init() } function file_helloworld_proto_init (line 185) | func file_helloworld_proto_init() { constant _ (line 241) | _ = grpc.SupportPackageIsVersion6 type GreeterClient (line 246) | type GreeterClient interface type greeterClient (line 251) | type greeterClient struct method SayHello (line 259) | func (c *greeterClient) SayHello(ctx context.Context, in *HelloRequest... function NewGreeterClient (line 255) | func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient { type GreeterServer (line 269) | type GreeterServer interface type UnimplementedGreeterServer (line 275) | type UnimplementedGreeterServer struct method SayHello (line 278) | func (*UnimplementedGreeterServer) SayHello(context.Context, *HelloReq... function RegisterGreeterServer (line 282) | func RegisterGreeterServer(s *grpc.Server, srv GreeterServer) { function _Greeter_SayHello_Handler (line 286) | func _Greeter_SayHello_Handler(srv any, ctx context.Context, dec func(an... FILE: _examples/mvc/grpc-compatible/http-client/main.go function main (line 15) | func main() { FILE: _examples/mvc/grpc-compatible/main.go function main (line 22) | func main() { function newApp (line 33) | func newApp() *iris.Application { type service (line 62) | type service interface type myService (line 66) | type myService struct method DoSomething (line 68) | func (s *myService) DoSomething() error { type myController (line 73) | type myController struct method SayHello (line 88) | func (c *myController) SayHello(ctx context.Context, in *pb.HelloReque... FILE: _examples/mvc/grpc-compatible/main_test.go function TestGRPCCompatible (line 9) | func TestGRPCCompatible(t *testing.T) { FILE: _examples/mvc/hello-world/main.go function newApp (line 34) | func newApp() *iris.Application { function main (line 57) | func main() { type ExampleController (line 68) | type ExampleController struct method Get (line 73) | func (c *ExampleController) Get() mvc.Result { method GetPing (line 83) | func (c *ExampleController) GetPing() string { method GetHello (line 90) | func (c *ExampleController) GetHello() any { method GetHelloWorld (line 97) | func (c *ExampleController) GetHelloWorld() any { method BeforeActivation (line 107) | func (c *ExampleController) BeforeActivation(b mvc.BeforeActivation) { method CustomHandlerWithoutFollowingTheNamingGuide (line 122) | func (c *ExampleController) CustomHandlerWithoutFollowingTheNamingGuid... type ExampleControllerCustomPath (line 126) | type ExampleControllerCustomPath struct method GetHelloWorld (line 131) | func (c *ExampleControllerCustomPath) GetHelloWorld() any { FILE: _examples/mvc/hello-world/main_test.go function TestMVCHelloWorld (line 9) | func TestMVCHelloWorld(t *testing.T) { FILE: _examples/mvc/login-mvc-single-responsibility/main.go function main (line 13) | func main() { function configureUserMVC (line 41) | func configureUserMVC(userApp *mvc.Application) { function configure (line 48) | func configure(app *iris.Application) { FILE: _examples/mvc/login-mvc-single-responsibility/user/auth.go constant sessionIDKey (line 13) | sessionIDKey = "UserID" type AuthController (line 22) | type AuthController struct method BeginRequest (line 37) | func (c *AuthController) BeginRequest(ctx iris.Context) { method EndRequest (line 43) | func (c *AuthController) EndRequest(ctx iris.Context) {} method fireError (line 45) | func (c *AuthController) fireError(err error) mvc.View { method redirectTo (line 53) | func (c *AuthController) redirectTo(id int64) mvc.Response { method createOrUpdate (line 57) | func (c *AuthController) createOrUpdate(firstname, username, password ... method isLoggedIn (line 77) | func (c *AuthController) isLoggedIn() bool { method verify (line 83) | func (c *AuthController) verify(username, password string) (user Model... method logout (line 105) | func (c *AuthController) logout() mvc.Response { FILE: _examples/mvc/login-mvc-single-responsibility/user/controller.go type Controller (line 26) | type Controller struct method BeforeActivation (line 35) | func (c *Controller) BeforeActivation(b mvc.BeforeActivation) { method GetRegister (line 48) | func (c *Controller) GetRegister() mvc.Result { method PostRegister (line 62) | func (c *Controller) PostRegister(form formValue) mvc.Result { method GetLogin (line 92) | func (c *Controller) GetLogin() mvc.Result { method PostLogin (line 100) | func (c *Controller) PostLogin(form formValue) mvc.Result { method AnyLogout (line 116) | func (c *Controller) AnyLogout() { method GetMe (line 121) | func (c *Controller) GetMe() mvc.Result { method renderNotFound (line 145) | func (c *Controller) renderNotFound(id int64) mvc.View { method GetBy (line 167) | func (c *Controller) GetBy(userID int64) mvc.Result { type formValue (line 30) | type formValue type page (line 41) | type page struct method Dispatch (line 161) | func (u Model) Dispatch(ctx iris.Context) { FILE: _examples/mvc/login-mvc-single-responsibility/user/datasource.go type DataSource (line 18) | type DataSource struct method GetBy (line 45) | func (d *DataSource) GetBy(query func(Model) bool) (user Model, found ... method GetByID (line 58) | func (d *DataSource) GetByID(id int64) (Model, bool) { method GetByUsername (line 65) | func (d *DataSource) GetByUsername(username string) (Model, bool) { method getLastID (line 71) | func (d *DataSource) getLastID() (lastID int64) { method InsertOrUpdate (line 84) | func (d *DataSource) InsertOrUpdate(user Model) (Model, error) { function NewDataSource (line 24) | func NewDataSource() *DataSource { FILE: _examples/mvc/login-mvc-single-responsibility/user/model.go type Model (line 10) | type Model struct function GeneratePassword (line 26) | func GeneratePassword(userPassword string) ([]byte, error) { function ValidatePassword (line 31) | func ValidatePassword(userPassword string, hashed []byte) (bool, error) { FILE: _examples/mvc/login/datamodels/user.go type User (line 16) | type User struct method IsValid (line 25) | func (u User) IsValid() bool { function GeneratePassword (line 31) | func GeneratePassword(userPassword string) ([]byte, error) { function ValidatePassword (line 36) | func ValidatePassword(userPassword string, hashed []byte) (bool, error) { FILE: _examples/mvc/login/datasource/users.go type Engine (line 12) | type Engine constant Memory (line 17) | Memory Engine = iota constant Bolt (line 19) | Bolt constant MySQL (line 21) | MySQL function LoadUsers (line 25) | func LoadUsers(engine Engine) (map[int64]datamodels.User, error) { FILE: _examples/mvc/login/main.go function main (line 20) | func main() { FILE: _examples/mvc/login/repositories/user_repository.go type Query (line 11) | type Query type UserRepository (line 16) | type UserRepository interface function NewUserRepository (line 28) | func NewUserRepository(source map[int64]datamodels.User) UserRepository { type userMemoryRepository (line 34) | type userMemoryRepository struct method Exec (line 46) | func (r *userMemoryRepository) Exec(query Query, action Query, actionL... method Select (line 84) | func (r *userMemoryRepository) Select(query Query) (user datamodels.Us... method SelectMany (line 100) | func (r *userMemoryRepository) SelectMany(query Query, limit int) (res... method InsertOrUpdate (line 112) | func (r *userMemoryRepository) InsertOrUpdate(user datamodels.User) (d... method Delete (line 169) | func (r *userMemoryRepository) Delete(query Query, limit int) bool { constant ReadOnlyMode (line 41) | ReadOnlyMode = iota constant ReadWriteMode (line 43) | ReadWriteMode FILE: _examples/mvc/login/services/user_service.go type UserService (line 16) | type UserService interface function NewUserService (line 30) | func NewUserService(repo repositories.UserRepository) UserService { type userService (line 36) | type userService struct method GetAll (line 41) | func (s *userService) GetAll() []datamodels.User { method GetByID (line 48) | func (s *userService) GetByID(id int64) (datamodels.User, bool) { method GetByUsernameAndPassword (line 56) | func (s *userService) GetByUsernameAndPassword(username, userPassword ... method Update (line 76) | func (s *userService) Update(id int64, user datamodels.User) (datamode... method UpdatePassword (line 82) | func (s *userService) UpdatePassword(id int64, newPassword string) (da... method UpdateUsername (line 95) | func (s *userService) UpdateUsername(id int64, newUsername string) (da... method Create (line 104) | func (s *userService) Create(userPassword string, user datamodels.User... method DeleteByID (line 121) | func (s *userService) DeleteByID(id int64) bool { FILE: _examples/mvc/login/web/controllers/user_controller.go type UserController (line 22) | type UserController struct method getCurrentUserID (line 40) | func (c *UserController) getCurrentUserID() int64 { method isLoggedIn (line 45) | func (c *UserController) isLoggedIn() bool { method logout (line 49) | func (c *UserController) logout() { method GetRegister (line 59) | func (c *UserController) GetRegister() mvc.Result { method PostRegister (line 68) | func (c *UserController) PostRegister() mvc.Result { method GetLogin (line 107) | func (c *UserController) GetLogin() mvc.Result { method PostLogin (line 117) | func (c *UserController) PostLogin() mvc.Result { method GetMe (line 139) | func (c *UserController) GetMe() mvc.Result { method AnyLogout (line 164) | func (c *UserController) AnyLogout() { constant userIDKey (line 38) | userIDKey = "UserID" FILE: _examples/mvc/login/web/controllers/users_controller.go type UsersController (line 16) | type UsersController struct method Get (line 44) | func (c *UsersController) Get() (results []datamodels.User) { method GetBy (line 51) | func (c *UsersController) GetBy(id int64) (user datamodels.User, found... method PutBy (line 66) | func (c *UsersController) PutBy(id int64) (datamodels.User, error) { method DeleteBy (line 80) | func (c *UsersController) DeleteBy(id int64) any { FILE: _examples/mvc/middleware/main.go function main (line 15) | func main() { function configure (line 28) | func configure(m *mvc.Application) { type exampleController (line 35) | type exampleController struct method Get (line 39) | func (c *exampleController) Get() string { method GetOther (line 44) | func (c *exampleController) GetOther() string { FILE: _examples/mvc/middleware/per-method/main.go function main (line 85) | func main() { type exampleController (line 96) | type exampleController struct method AfterActivation (line 98) | func (c *exampleController) AfterActivation(a mvc.AfterActivation) { method Get (line 107) | func (c *exampleController) Get() string { FILE: _examples/mvc/middleware/without-ctx-next/main.go function main (line 15) | func main() { function doneHandler (line 34) | func doneHandler(ctx iris.Context) { type exampleController (line 38) | type exampleController struct method Get (line 40) | func (c *exampleController) Get() string { FILE: _examples/mvc/overview/controller/greet_controller.go type GreetController (line 9) | type GreetController struct method Get (line 16) | func (c *GreetController) Get(req model.Request) (model.Response, erro... FILE: _examples/mvc/overview/database/database.go type DB (line 6) | type DB interface function NewDB (line 11) | func NewDB(env environment.Env) DB { FILE: _examples/mvc/overview/database/mysql.go type mysql (line 5) | type mysql struct method Exec (line 7) | func (db *mysql) Exec(q string) error { FILE: _examples/mvc/overview/database/sqlite.go type sqlite (line 3) | type sqlite struct method Exec (line 5) | func (db *sqlite) Exec(q string) error { return nil } FILE: _examples/mvc/overview/environment/environment.go constant PROD (line 10) | PROD Env = "production" constant DEV (line 11) | DEV Env = "development" type Env (line 15) | type Env method String (line 18) | func (e Env) String() string { function ReadEnv (line 26) | func ReadEnv(key string, def Env) Env { function Getenv (line 44) | func Getenv(key string, def string) string { FILE: _examples/mvc/overview/main.go function main (line 13) | func main() { function pong (line 26) | func pong(ctx iris.Context) { function setup (line 78) | func setup(app *mvc.Application) { FILE: _examples/mvc/overview/model/request.go type Request (line 4) | type Request struct FILE: _examples/mvc/overview/model/response.go type Response (line 4) | type Response struct FILE: _examples/mvc/overview/service/greet_service.go type GreetService (line 11) | type GreetService interface function NewGreetService (line 16) | func NewGreetService(env environment.Env, db database.DB) GreetService { type greeter (line 29) | type greeter struct method Say (line 34) | func (s *greeter) Say(input string) (string, error) { type greeterWithLogging (line 43) | type greeterWithLogging struct method Say (line 47) | func (s *greeterWithLogging) Say(input string) (string, error) { FILE: _examples/mvc/regexp/main.go function main (line 19) | func main() { type myController (line 30) | type myController struct method BeforeActivation (line 32) | func (m *myController) BeforeActivation(b mvc.BeforeActivation) { method HandleJSON (line 47) | func (m *myController) HandleJSON(file string) string { FILE: _examples/mvc/repository/datamodels/movie.go type Movie (line 12) | type Movie struct FILE: _examples/mvc/repository/main.go function main (line 16) | func main() { function movies (line 37) | func movies(app *mvc.Application) { FILE: _examples/mvc/repository/repositories/movie_repository.go type Query (line 13) | type Query type MovieRepository (line 18) | type MovieRepository interface function NewMovieRepository (line 30) | func NewMovieRepository(source map[int64]datamodels.Movie) MovieReposito... type movieMemoryRepository (line 36) | type movieMemoryRepository struct method Exec (line 48) | func (r *movieMemoryRepository) Exec(query Query, action Query, action... method Select (line 86) | func (r *movieMemoryRepository) Select(query Query) (movie datamodels.... method SelectMany (line 102) | func (r *movieMemoryRepository) SelectMany(query Query, limit int) (re... method InsertOrUpdate (line 114) | func (r *movieMemoryRepository) InsertOrUpdate(movie datamodels.Movie)... method Delete (line 171) | func (r *movieMemoryRepository) Delete(query Query, limit int) bool { constant ReadOnlyMode (line 43) | ReadOnlyMode = iota constant ReadWriteMode (line 45) | ReadWriteMode FILE: _examples/mvc/repository/services/movie_service.go type MovieService (line 16) | type MovieService interface function NewMovieService (line 24) | func NewMovieService(repo repositories.MovieRepository) MovieService { type movieService (line 30) | type movieService struct method GetAll (line 35) | func (s *movieService) GetAll() []datamodels.Movie { method GetByID (line 42) | func (s *movieService) GetByID(id int64) (datamodels.Movie, bool) { method UpdatePosterAndGenreByID (line 49) | func (s *movieService) UpdatePosterAndGenreByID(id int64, poster strin... method DeleteByID (line 61) | func (s *movieService) DeleteByID(id int64) bool { FILE: _examples/mvc/repository/web/controllers/hello_controller.go type HelloController (line 13) | type HelloController struct method Get (line 29) | func (c *HelloController) Get() mvc.Result { method GetBy (line 44) | func (c *HelloController) GetBy(name string) mvc.Result { FILE: _examples/mvc/repository/web/controllers/movie_controller.go type MovieController (line 15) | type MovieController struct method Get (line 37) | func (c *MovieController) Get() (results []datamodels.Movie) { method GetBy (line 44) | func (c *MovieController) GetBy(id int64) (movie datamodels.Movie, fou... method PutBy (line 51) | func (c *MovieController) PutBy(ctx iris.Context, id int64) (datamodel... method DeleteBy (line 70) | func (c *MovieController) DeleteBy(id int64) any { FILE: _examples/mvc/request-default-values/main.go function main (line 17) | func main() { type params (line 32) | type params struct type controller (line 73) | type controller struct method GetRecords (line 75) | func (c *controller) GetRecords(stru params) string { FILE: _examples/mvc/session-controller/main.go type VisitController (line 13) | type VisitController struct method Get (line 24) | func (c *VisitController) Get() string { function newApp (line 34) | func newApp() *iris.Application { function main (line 49) | func main() { FILE: _examples/mvc/session-controller/main_test.go function TestMVCSession (line 9) | func TestMVCSession(t *testing.T) { FILE: _examples/mvc/singleton/main.go function main (line 11) | func main() { type globalVisitorsController (line 19) | type globalVisitorsController struct method Get (line 33) | func (c *globalVisitorsController) Get() string { FILE: _examples/mvc/versioned-controller/main.go function main (line 17) | func main() { function newApp (line 24) | func newApp() *iris.Application { type v1Controller (line 40) | type v1Controller struct method Get (line 42) | func (c *v1Controller) Get() string { type v2Controller (line 46) | type v2Controller struct method Get (line 48) | func (c *v2Controller) Get() string { type v3Controller (line 52) | type v3Controller struct method Get (line 54) | func (c *v3Controller) Get() string { type noVersionController (line 58) | type noVersionController struct method Get (line 60) | func (c *noVersionController) Get() string { FILE: _examples/mvc/versioned-controller/main_test.go function TestVersionedController (line 11) | func TestVersionedController(t *testing.T) { FILE: _examples/mvc/vuejs-todo-mvc/src/todo/item.go type Item (line 3) | type Item struct FILE: _examples/mvc/vuejs-todo-mvc/src/todo/service.go type Service (line 7) | type Service interface type MemoryService (line 12) | type MemoryService struct method Get (line 25) | func (s *MemoryService) Get(sessionOwner string) []Item { method Save (line 33) | func (s *MemoryService) Save(sessionOwner string, newItems []Item) err... function NewMemoryService (line 19) | func NewMemoryService() *MemoryService { FILE: _examples/mvc/vuejs-todo-mvc/src/web/controllers/todo_controller.go type TodoController (line 13) | type TodoController struct method BeforeActivation (line 25) | func (c *TodoController) BeforeActivation(b mvc.BeforeActivation) { method Get (line 35) | func (c *TodoController) Get() []todo.Item { method Post (line 48) | func (c *TodoController) Post(newItems []todo.Item) PostItemResponse { method Save (line 56) | func (c *TodoController) Save(msg websocket.Message) error { type PostItemResponse (line 41) | type PostItemResponse struct FILE: _examples/mvc/vuejs-todo-mvc/src/web/main.go function main (line 15) | func main() { FILE: _examples/mvc/vuejs-todo-mvc/src/web/public/js/app.js function fetchTodos (line 23) | function fetchTodos(onComplete) { function onHashChange (line 200) | function onHashChange() { FILE: _examples/mvc/websocket-auth/main.go function main (line 16) | func main() { function newApp (line 25) | func newApp() *iris.Application { function renderSigninForm (line 53) | func renderSigninForm(ctx iris.Context) { type websocketController (line 60) | type websocketController struct method Namespace (line 64) | func (c *websocketController) Namespace() string { method OnChat (line 68) | func (c *websocketController) OnChat(msg websocket.Message) error { FILE: _examples/mvc/websocket-auth/user.go type AccessRole (line 6) | type AccessRole method Is (line 8) | func (r AccessRole) Is(v AccessRole) bool { method Allow (line 12) | func (r AccessRole) Allow(v AccessRole) bool { constant InvalidAccessRole (line 17) | InvalidAccessRole AccessRole = 1 << iota constant Read (line 18) | Read constant Write (line 19) | Write constant Delete (line 20) | Delete constant Owner (line 22) | Owner = Read | Write | Delete constant Member (line 23) | Member = Read | Write type User (line 26) | type User struct method GetID (line 32) | func (u User) GetID() string { FILE: _examples/mvc/websocket-auth/user_provider.go type Provider (line 15) | type Provider struct method Signin (line 42) | func (p *Provider) Signin(ctx context.Context, username, password stri... method ValidateToken (line 53) | func (p *Provider) ValidateToken(ctx context.Context, standardClaims a... method InvalidateToken (line 85) | func (p *Provider) InvalidateToken(ctx context.Context, standardClaims... method InvalidateTokens (line 94) | func (p *Provider) InvalidateTokens(ctx context.Context, u User) error... function NewProvider (line 23) | func NewProvider() *Provider { FILE: _examples/mvc/websocket/main.go function main (line 12) | func main() { function increment (line 39) | func increment() uint64 { function decrement (line 43) | func decrement() uint64 { type websocketController (line 47) | type websocketController struct method OnNamespaceDisconnect (line 61) | func (c *websocketController) OnNamespaceDisconnect(msg websocket.Mess... method OnNamespaceConnected (line 76) | func (c *websocketController) OnNamespaceConnected(msg websocket.Messa... method OnChat (line 97) | func (c *websocketController) OnChat(msg websocket.Message) error { type LoggerService (line 108) | type LoggerService interface type prefixedLogger (line 112) | type prefixedLogger struct method Log (line 116) | func (s *prefixedLogger) Log(msg string) { FILE: _examples/pprof/main.go function main (line 9) | func main() { FILE: _examples/project/api/configuration.go type Configuration (line 13) | type Configuration struct method BindFile (line 38) | func (c *Configuration) BindFile(filename string) error { FILE: _examples/project/api/router.go method buildRouter (line 15) | func (srv *Server) buildRouter() { FILE: _examples/project/api/server.go type Server (line 17) | type Server struct method prepare (line 45) | func (srv *Server) prepare() error { method registerMiddlewares (line 59) | func (srv *Server) registerMiddlewares() { method registerDebugFeatures (line 71) | func (srv *Server) registerDebugFeatures() {} method registerAccessLogger (line 73) | func (srv *Server) registerAccessLogger() { method Start (line 113) | func (srv *Server) Start() error { method AddCloser (line 137) | func (srv *Server) AddCloser(closers ...func()) { method Close (line 151) | func (srv *Server) Close() error { function NewServer (line 28) | func NewServer(c Configuration) *Server { FILE: _examples/project/api/users/api.go type API (line 9) | type API struct method Configure (line 13) | func (api *API) Configure(r iris.Party) { method getInfo (line 22) | func (api *API) getInfo(ctx iris.Context) { method signUp (line 26) | func (api *API) signUp(ctx iris.Context) {} method signIn (line 27) | func (api *API) signIn(ctx iris.Context) {} FILE: _examples/project/cmd/cmd.go constant defaultConfigFilename (line 10) | defaultConfigFilename = "server.yml" function New (line 17) | func New() *cobra.Command { function startServer (line 55) | func startServer() error { FILE: _examples/project/cmd/help.go type HelpTemplate (line 12) | type HelpTemplate struct method String (line 20) | func (h HelpTemplate) String() string { FILE: _examples/project/main.go function main (line 10) | func main() { FILE: _examples/project/pkg/database/database.go type DB (line 3) | type DB struct function Open (line 7) | func Open(connString string) *DB { FILE: _examples/project/pkg/http/handlers/cors.go function CORS (line 7) | func CORS(allowedOrigin string) iris.Handler { // or "github.com/iris-co... FILE: _examples/project/user/repository.go type Repository (line 5) | type Repository interface type repo (line 8) | type repo struct function NewRepository (line 12) | func NewRepository(db *database.DB) Repository { FILE: _examples/project/user/user.go type User (line 3) | type User struct FILE: _examples/recover/main.go function main (line 9) | func main() { FILE: _examples/recover/panic-and-custom-error-handler-with-compression/main.go function main (line 11) | func main() { function myErrorHandler (line 21) | func myErrorHandler(ctx iris.Context) { function handler (line 58) | func handler(ctx iris.Context) { FILE: _examples/request-body/form-query-headers-params-decoder/main.go type MyType (line 31) | type MyType struct function main (line 35) | func main() { FILE: _examples/request-body/read-body/main.go function main (line 7) | func main() { function newApp (line 13) | func newApp() *iris.Application { type payload (line 25) | type payload struct function readBody (line 29) | func readBody(ctx iris.Context) { function setAllowedResponses (line 49) | func setAllowedResponses(ctx iris.Context) { FILE: _examples/request-body/read-body/main_test.go function TestReadBodyAndNegotiate (line 9) | func TestReadBodyAndNegotiate(t *testing.T) { FILE: _examples/request-body/read-custom-per-type/main.go function main (line 9) | func main() { function newApp (line 25) | func newApp() *iris.Application { type config (line 33) | type config struct method Decode (line 40) | func (c *config) Decode(body []byte) error { function handler (line 44) | func handler(ctx iris.Context) { FILE: _examples/request-body/read-custom-per-type/main_test.go function TestReadCustomPerType (line 9) | func TestReadCustomPerType(t *testing.T) { FILE: _examples/request-body/read-custom-via-unmarshaler/main.go function main (line 9) | func main() { function newApp (line 25) | func newApp() *iris.Application { type config (line 33) | type config struct function handler (line 52) | func handler(ctx iris.Context) { FILE: _examples/request-body/read-custom-via-unmarshaler/main_test.go function TestReadCustomViaUnmarshaler (line 9) | func TestReadCustomViaUnmarshaler(t *testing.T) { FILE: _examples/request-body/read-form/checkboxes/main.go function main (line 9) | func main() { function showForm (line 19) | func showForm(ctx iris.Context) { type formExample (line 26) | type formExample struct function handleForm (line 30) | func handleForm(ctx iris.Context) { FILE: _examples/request-body/read-form/main.go type Visitor (line 10) | type Visitor struct function main (line 16) | func main() { FILE: _examples/request-body/read-headers/main.go type myHeaders (line 9) | type myHeaders struct function main (line 14) | func main() { function newApp (line 27) | func newApp() *iris.Application { FILE: _examples/request-body/read-headers/main_test.go function TestReadHeaders (line 9) | func TestReadHeaders(t *testing.T) { FILE: _examples/request-body/read-json-stream/main.go function main (line 5) | func main() { type User (line 35) | type User struct function postIndex (line 39) | func postIndex(ctx iris.Context) { function postIndexStream (line 57) | func postIndexStream(ctx iris.Context) { FILE: _examples/request-body/read-json-struct-validation/main.go function main (line 17) | func main() { type User (line 74) | type User struct type Address (line 84) | type Address struct type validationError (line 91) | type validationError struct function wrapValidationErrors (line 100) | func wrapValidationErrors(errs validator.ValidationErrors) []validationE... function postUser (line 116) | func postUser(ctx iris.Context) { function resolveErrorsDocumentation (line 144) | func resolveErrorsDocumentation(ctx iris.Context) { FILE: _examples/request-body/read-json/main.go type Company (line 7) | type Company struct function MyHandler (line 13) | func MyHandler(ctx iris.Context) { type Person (line 25) | type Person struct function MyHandler2 (line 31) | func MyHandler2(ctx iris.Context) { function main (line 42) | func main() { FILE: _examples/request-body/read-many/main.go function main (line 7) | func main() { function logAllBody (line 35) | func logAllBody(ctx iris.Context) { function logJSON (line 44) | func logJSON(ctx iris.Context) { function logFormValues (line 53) | func logFormValues(ctx iris.Context) { FILE: _examples/request-body/read-msgpack/main.go type User (line 6) | type User struct function readMsgPack (line 14) | func readMsgPack(ctx iris.Context) { function main (line 25) | func main() { FILE: _examples/request-body/read-params/main.go type myParams (line 9) | type myParams struct function main (line 15) | func main() { function newApp (line 23) | func newApp() *iris.Application { FILE: _examples/request-body/read-params/main_test.go function TestReadParams (line 9) | func TestReadParams(t *testing.T) { FILE: _examples/request-body/read-query/main.go type MyType (line 9) | type MyType struct function main (line 14) | func main() { FILE: _examples/request-body/read-url/main.go type myURL (line 9) | type myURL struct function main (line 15) | func main() { function newApp (line 23) | func newApp() *iris.Application { FILE: _examples/request-body/read-url/main_test.go function TestReadURL (line 9) | func TestReadURL(t *testing.T) { FILE: _examples/request-body/read-xml/main.go function main (line 9) | func main() { function newApp (line 26) | func newApp() *iris.Application { type person (line 34) | type person struct function handler (line 41) | func handler(ctx iris.Context) { FILE: _examples/request-body/read-xml/main_test.go function TestReadXML (line 9) | func TestReadXML(t *testing.T) { FILE: _examples/request-body/read-yaml/main.go function newApp (line 7) | func newApp() *iris.Application { type product (line 15) | type product struct function handler (line 22) | func handler(ctx iris.Context) { function main (line 32) | func main() { FILE: _examples/request-body/read-yaml/main_test.go function TestReadYAML (line 9) | func TestReadYAML(t *testing.T) { FILE: _examples/request-ratelimit/rate-middleware/main.go function main (line 10) | func main() { function newApp (line 26) | func newApp() *iris.Application { function useAPIKey (line 65) | func useAPIKey(ctx iris.Context) { function list (line 78) | func list(ctx iris.Context) { function index (line 82) | func index(ctx iris.Context) { function other (line 86) | func other(ctx iris.Context) { FILE: _examples/request-ratelimit/ulule-limiter/main.go function main (line 15) | func main() { function helloWorldHandler (line 21) | func helloWorldHandler(ctx iris.Context) { function IPRateLimit (line 30) | func IPRateLimit() iris.Handler { FILE: _examples/request-referrer/main.go function main (line 7) | func main() { FILE: _examples/response-writer/cache/client-side/main.go constant refreshEvery (line 14) | refreshEvery = 10 * time.Second function main (line 16) | func main() { function greet (line 36) | func greet(ctx iris.Context) { FILE: _examples/response-writer/cache/simple/main.go function main (line 28) | func main() { function writeMarkdown (line 66) | func writeMarkdown(ctx iris.Context) { function pagesIndex (line 74) | func pagesIndex(ctx iris.Context) { function pagesIndexPost (line 79) | func pagesIndexPost(ctx iris.Context) { function protected (line 84) | func protected(ctx iris.Context) { function customIndex (line 89) | func customIndex(ctx iris.Context) { function customIndexPost (line 93) | func customIndexPost(ctx iris.Context) { FILE: _examples/response-writer/content-negotiation/main.go type testdata (line 6) | type testdata struct function newApp (line 11) | func newApp() *iris.Application { function main (line 111) | func main() { FILE: _examples/response-writer/content-negotiation/main_test.go function TestContentNegotiation (line 14) | func TestContentNegotiation(t *testing.T) { FILE: _examples/response-writer/http2push/main.go function main (line 14) | func main() { function pushHandler (line 24) | func pushHandler(ctx iris.Context) { function simpleAssetHandler (line 46) | func simpleAssetHandler(ctx iris.Context) { FILE: _examples/response-writer/json-third-party/main.go function init (line 10) | func init() { function applyIrisGlobalPatches (line 14) | func applyIrisGlobalPatches() { type User (line 28) | type User struct function main (line 35) | func main() { FILE: _examples/response-writer/protobuf/main.go function main (line 9) | func main() { function send (line 20) | func send(ctx iris.Context) { function sendAsJSON (line 25) | func sendAsJSON(ctx iris.Context) { function read (line 38) | func read(ctx iris.Context) { function readFromJSON (line 50) | func readFromJSON(ctx iris.Context) { FILE: _examples/response-writer/protobuf/protos/hello.pb.go constant _ (line 19) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 21) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 26) | _ = proto.ProtoPackageIsVersion4 type HelloRequest (line 28) | type HelloRequest struct method Reset (line 36) | func (x *HelloRequest) Reset() { method String (line 45) | func (x *HelloRequest) String() string { method ProtoMessage (line 49) | func (*HelloRequest) ProtoMessage() {} method ProtoReflect (line 51) | func (x *HelloRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 64) | func (*HelloRequest) Descriptor() ([]byte, []int) { method GetName (line 68) | func (x *HelloRequest) GetName() string { type HelloReply (line 75) | type HelloReply struct method Reset (line 83) | func (x *HelloReply) Reset() { method String (line 92) | func (x *HelloReply) String() string { method ProtoMessage (line 96) | func (*HelloReply) ProtoMessage() {} method ProtoReflect (line 98) | func (x *HelloReply) ProtoReflect() protoreflect.Message { method Descriptor (line 111) | func (*HelloReply) Descriptor() ([]byte, []int) { method GetMessage (line 115) | func (x *HelloReply) GetMessage() string { function file_hello_proto_rawDescGZIP (line 140) | func file_hello_proto_rawDescGZIP() []byte { function init (line 160) | func init() { file_hello_proto_init() } function file_hello_proto_init (line 161) | func file_hello_proto_init() { FILE: _examples/response-writer/sse-third-party-2/main.go function main (line 18) | func main() { FILE: _examples/response-writer/sse-third-party/main.go function main (line 12) | func main() { FILE: _examples/response-writer/sse/main.go type Broker (line 18) | type Broker struct method listen (line 49) | func (b *Broker) listen() { method ServeHTTP (line 74) | func (b *Broker) ServeHTTP(ctx iris.Context) { function NewBroker (line 34) | func NewBroker() *Broker { type event (line 116) | type event struct constant script (line 121) | script = `