Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func NewRouter ¶
func NewRouter( conf *config.Config, corsAllowedOrigins []string, jwtAuth *jwtauth.JWTAuth, nodeSubscriptionService subscription.NodeService, userService user.Service, userSubscriptionService subscription.Service[*model.UserChangedEvent], serverService server.Service, serverSubscriptionService subscription.Service[*model.ServerChangedEvent], peerService peer.Service, peerSubscriptionService subscription.Service[*model.PeerChangedEvent], wgService wg.Service, ) http.Handler
Types ¶
type NodeResult ¶
type NodeResult struct {
// contains filtered or unexported fields
}
Source Files ¶
- authentication_middleware.go
- config.go
- directive_authenticated.go
- errors.go
- helper.go
- mutation_resolver.go
- mutation_resolver_create_peer.go
- mutation_resolver_create_server.go
- mutation_resolver_create_user.go
- mutation_resolver_delete_peer.go
- mutation_resolver_delete_server.go
- mutation_resolver_delete_user.go
- mutation_resolver_generate_wireguard_key.go
- mutation_resolver_import_foreign_server.go
- mutation_resolver_sign_in.go
- mutation_resolver_start_server.go
- mutation_resolver_stop_server.go
- mutation_resolver_update_peer.go
- mutation_resolver_update_server.go
- mutation_resolver_update_user.go
- peer_resolver.go
- peer_resolver_create_user.go
- peer_resolver_delete_user.go
- peer_resolver_server.go
- peer_resolver_stats.go
- peer_resolver_update_user.go
- query_resolver.go
- query_resolver_foreign_servers.go
- query_resolver_node.go
- query_resolver_nodes.go
- query_resolver_peers.go
- query_resolver_servers.go
- query_resolver_users.go
- query_resolver_viewer.go
- resolver_root.go
- router.go
- server_resolver.go
- server_resolver_create_user.go
- server_resolver_delete_user.go
- server_resolver_interface_stats.go
- server_resolver_peers.go
- server_resolver_update_user.go
- subscription_resolver.go
- user_resolver.go
- user_resolver_peers.go
- user_resolver_servers.go
Click to show internal directories.
Click to hide internal directories.