SYMBOL INDEX (336 symbols across 122 files) FILE: aws-ec2/main.go function main (line 15) | func main() { function createEC2 (line 28) | func createEC2(ctx context.Context, region string) (string, error) { FILE: aws-s3-testing/main.go constant bucketName (line 18) | bucketName = "aws-demo-test-bucket-95fd1" constant regionName (line 19) | regionName = "us-east-1" type S3Client (line 21) | type S3Client interface type S3Uploader (line 26) | type S3Uploader interface type S3Downloader (line 29) | type S3Downloader interface function main (line 33) | func main() { function initS3Client (line 60) | func initS3Client(ctx context.Context) (*s3.Client, error) { function createS3Bucket (line 69) | func createS3Bucket(ctx context.Context, s3Client S3Client) error { function uploadToS3Bucket (line 96) | func uploadToS3Bucket(ctx context.Context, uploader S3Uploader, filename... function downloadFromS3 (line 113) | func downloadFromS3(ctx context.Context, downloader S3Downloader) ([]byt... FILE: aws-s3-testing/main_test.go type MockS3Client (line 13) | type MockS3Client struct method ListBuckets (line 18) | func (m MockS3Client) ListBuckets(ctx context.Context, params *s3.List... method CreateBucket (line 21) | func (m MockS3Client) CreateBucket(ctx context.Context, params *s3.Cre... type MockS3Uploader (line 25) | type MockS3Uploader struct method Upload (line 29) | func (m MockS3Uploader) Upload(ctx context.Context, input *s3.PutObjec... function TestCreateS3Bucket (line 33) | func TestCreateS3Bucket(t *testing.T) { function TestUploadToS3Bucket (line 53) | func TestUploadToS3Bucket(t *testing.T) { FILE: aws-s3/main.go constant s3BucketName (line 15) | s3BucketName = "go-aws-test-xz9" function main (line 17) | func main() { function initS3Client (line 43) | func initS3Client(ctx context.Context, region string) (*s3.Client, error) { function createS3Bucket (line 51) | func createS3Bucket(ctx context.Context, s3Client *s3.Client) error { function uploadFileToS3 (line 62) | func uploadFileToS3(ctx context.Context, s3Client *s3.Client) error { function downloadFileFromS3 (line 74) | func downloadFileFromS3(ctx context.Context, s3Client *s3.Client) ([]byt... FILE: azure-instance/main.go constant location (line 18) | location = "westus" function main (line 20) | func main() { function generateKeys (line 45) | func generateKeys() (string, error) { function getToken (line 66) | func getToken() (azcore.TokenCredential, error) { function launchInstance (line 74) | func launchInstance(ctx context.Context, subscriptionID string, cred azc... function findVnet (line 338) | func findVnet(ctx context.Context, resourceGroupName, vnetName string, v... FILE: dns-demo/cmd/dns-resolver/main.go function main (line 11) | func main() { FILE: dns-demo/pkg/dns/resolver.go constant ROOT_SERVERS (line 14) | ROOT_SERVERS = "198.41.0.4,199.9.14.201,192.33.4.12,199.7.91.13,192.203.... function HandlePacket (line 16) | func HandlePacket(pc net.PacketConn, addr net.Addr, buf []byte) { function handlePacket (line 22) | func handlePacket(pc net.PacketConn, addr net.Addr, buf []byte) error { function dnsQuery (line 49) | func dnsQuery(servers []net.IP, question dnsmessage.Question) (*dnsmessa... function outgoingDnsQuery (line 124) | func outgoingDnsQuery(servers []net.IP, question dnsmessage.Question) (*... function getRootServers (line 189) | func getRootServers() []net.IP { FILE: dns-demo/pkg/dns/resolver_test.go type MockPacketConn (line 14) | type MockPacketConn struct method WriteTo (line 16) | func (m *MockPacketConn) WriteTo(p []byte, addr net.Addr) (n int, err ... method Close (line 20) | func (m *MockPacketConn) Close() error { method ReadFrom (line 24) | func (m *MockPacketConn) ReadFrom(p []byte) (n int, addr net.Addr, err... method LocalAddr (line 27) | func (m *MockPacketConn) LocalAddr() net.Addr { method SetDeadline (line 30) | func (m *MockPacketConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 33) | func (m *MockPacketConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 36) | func (m *MockPacketConn) SetWriteDeadline(t time.Time) error { function TestHandlePacket (line 40) | func TestHandlePacket(t *testing.T) { function TestOutgoingDnsQuery (line 77) | func TestOutgoingDnsQuery(t *testing.T) { FILE: dns-start/cmd/dns-resolver/main.go function main (line 5) | func main() { FILE: dns-start/pkg/dns/resolver.go constant ROOT_SERVERS (line 10) | ROOT_SERVERS = "198.41.0.4,199.9.14.201,192.33.4.12,199.7.91.13,192.203.... function handlePacket (line 12) | func handlePacket(pc net.PacketConn, addr net.Addr, buf []byte) error { function outgoingDnsQuery (line 16) | func outgoingDnsQuery(servers []net.IP, question dnsmessage.Question) (*... FILE: dns-start/pkg/dns/resolver_test.go type MockPacketConn (line 14) | type MockPacketConn struct method WriteTo (line 16) | func (m *MockPacketConn) WriteTo(p []byte, addr net.Addr) (n int, err ... method Close (line 20) | func (m *MockPacketConn) Close() error { method ReadFrom (line 24) | func (m *MockPacketConn) ReadFrom(p []byte) (n int, addr net.Addr, err... method LocalAddr (line 27) | func (m *MockPacketConn) LocalAddr() net.Addr { method SetDeadline (line 30) | func (m *MockPacketConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 33) | func (m *MockPacketConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 36) | func (m *MockPacketConn) SetWriteDeadline(t time.Time) error { function TestHandlePacket (line 40) | func TestHandlePacket(t *testing.T) { function TestOutgoingDnsQuery (line 77) | func TestOutgoingDnsQuery(t *testing.T) { FILE: hello-world-arguments/main.go function main (line 8) | func main() { FILE: hello-world/main.go function main (line 5) | func main() { FILE: http-get-errorhandling/error.go type RequestError (line 3) | type RequestError struct method Error (line 9) | func (r RequestError) Error() string { FILE: http-get-errorhandling/main.go type Page (line 13) | type Page struct type Response (line 17) | type Response interface type Words (line 21) | type Words struct method GetResponse (line 26) | func (w Words) GetResponse() string { type Occurrence (line 30) | type Occurrence struct method GetResponse (line 34) | func (o Occurrence) GetResponse() string { function main (line 42) | func main() { function doRequest (line 66) | func doRequest(requestURL string) (Response, error) { FILE: http-get-flags/error.go type RequestError (line 3) | type RequestError struct method Error (line 9) | func (r RequestError) Error() string { FILE: http-get-flags/main.go type Page (line 14) | type Page struct type Response (line 18) | type Response interface type Words (line 22) | type Words struct method GetResponse (line 27) | func (w Words) GetResponse() string { type Occurrence (line 31) | type Occurrence struct method GetResponse (line 35) | func (o Occurrence) GetResponse() string { function main (line 43) | func main() { function doRequest (line 76) | func doRequest(requestURL string) (Response, error) { FILE: http-get-functions/main.go type Page (line 13) | type Page struct type Response (line 17) | type Response interface type Words (line 21) | type Words struct method GetResponse (line 26) | func (w Words) GetResponse() string { type Occurrence (line 30) | type Occurrence struct method GetResponse (line 34) | func (o Occurrence) GetResponse() string { function main (line 42) | func main() { function doRequest (line 62) | func doRequest(requestURL string) (Response, error) { FILE: http-get-json-map/main.go type Page (line 14) | type Page struct type Words (line 18) | type Words struct type Occurrence (line 23) | type Occurrence struct function main (line 27) | func main() { FILE: http-get-json/main.go type Words (line 14) | type Words struct function main (line 20) | func main() { FILE: http-get/main.go function main (line 12) | func main() { FILE: http-login-packaged/cmd/http-login/main.go function main (line 12) | func main() { FILE: http-login-packaged/pkg/api/error.go type RequestError (line 3) | type RequestError struct method Error (line 9) | func (r RequestError) Error() string { FILE: http-login-packaged/pkg/api/get.go type Page (line 10) | type Page struct type Response (line 14) | type Response interface type Words (line 18) | type Words struct method GetResponse (line 23) | func (w Words) GetResponse() string { type Occurrence (line 27) | type Occurrence struct method GetResponse (line 31) | func (o Occurrence) GetResponse() string { method DoGetRequest (line 39) | func (a api) DoGetRequest(requestURL string) (Response, error) { FILE: http-login-packaged/pkg/api/init.go type Options (line 5) | type Options struct type APIIface (line 10) | type APIIface interface type api (line 14) | type api struct function New (line 19) | func New(options Options) APIIface { FILE: http-login-packaged/pkg/api/login.go type LoginRequest (line 11) | type LoginRequest struct type LoginResponse (line 14) | type LoginResponse struct function doLoginRequest (line 18) | func doLoginRequest(client http.Client, requestURL, password string) (st... FILE: http-login-packaged/pkg/api/transport.go type MyJWTTransport (line 7) | type MyJWTTransport struct method RoundTrip (line 14) | func (m *MyJWTTransport) RoundTrip(req *http.Request) (*http.Response,... FILE: http-login-tests/cmd/http-login/main.go function main (line 12) | func main() { FILE: http-login-tests/pkg/api/error.go type RequestError (line 3) | type RequestError struct method Error (line 9) | func (r RequestError) Error() string { FILE: http-login-tests/pkg/api/get.go type Page (line 10) | type Page struct type Response (line 14) | type Response interface type Words (line 18) | type Words struct method GetResponse (line 28) | func (w Words) GetResponse() string { type WordsPage (line 23) | type WordsPage struct type Occurrence (line 32) | type Occurrence struct method GetResponse (line 36) | func (o Occurrence) GetResponse() string { method DoGetRequest (line 44) | func (a api) DoGetRequest(requestURL string) (Response, error) { FILE: http-login-tests/pkg/api/get_test.go type MockClient (line 12) | type MockClient struct method Get (line 17) | func (m MockClient) Get(url string) (resp *http.Response, err error) { method Post (line 24) | func (m MockClient) Post(url string, contentType string, body io.Reade... function TestDoGetRequest (line 28) | func TestDoGetRequest(t *testing.T) { FILE: http-login-tests/pkg/api/init.go type Options (line 8) | type Options struct type ClientIface (line 13) | type ClientIface interface type APIIface (line 18) | type APIIface interface type api (line 22) | type api struct function New (line 27) | func New(options Options) APIIface { FILE: http-login-tests/pkg/api/login.go type LoginRequest (line 10) | type LoginRequest struct type LoginResponse (line 13) | type LoginResponse struct function doLoginRequest (line 17) | func doLoginRequest(client ClientIface, requestURL, password string) (st... FILE: http-login-tests/pkg/api/transport.go type MyJWTTransport (line 7) | type MyJWTTransport struct method RoundTrip (line 15) | func (m MyJWTTransport) RoundTrip(req *http.Request) (*http.Response, ... FILE: http-login-tests/pkg/api/transport_test.go type MockRoundTripper (line 12) | type MockRoundTripper struct method RoundTrip (line 16) | func (m MockRoundTripper) RoundTrip(req *http.Request) (*http.Response... function TestRoundtrip (line 23) | func TestRoundtrip(t *testing.T) { FILE: http-login/error.go type RequestError (line 3) | type RequestError struct method Error (line 9) | func (r RequestError) Error() string { FILE: http-login/login.go type LoginRequest (line 11) | type LoginRequest struct type LoginResponse (line 14) | type LoginResponse struct function doLoginRequest (line 18) | func doLoginRequest(client http.Client, requestURL, password string) (st... FILE: http-login/main.go type Page (line 14) | type Page struct type Response (line 18) | type Response interface type Words (line 22) | type Words struct method GetResponse (line 27) | func (w Words) GetResponse() string { type Occurrence (line 31) | type Occurrence struct method GetResponse (line 35) | func (o Occurrence) GetResponse() string { function main (line 43) | func main() { function doRequest (line 94) | func doRequest(client http.Client, requestURL string) (Response, error) { FILE: http-login/transport.go type MyJWTTransport (line 5) | type MyJWTTransport struct method RoundTrip (line 10) | func (m MyJWTTransport) RoundTrip(req *http.Request) (*http.Response, ... FILE: kubernetes-deploy-github/main.go function main (line 24) | func main() { function getClient (line 45) | func getClient(ctx context.Context, inCluster bool) (*kubernetes.Clients... function getGitHubClient (line 69) | func getGitHubClient(ctx context.Context, token string) *github.Client { function deploy (line 81) | func deploy(ctx context.Context, client *kubernetes.Clientset, appFile [... function waitForPods (line 114) | func waitForPods(ctx context.Context, client *kubernetes.Clientset, depl... FILE: kubernetes-deploy-github/server.go type server (line 14) | type server struct method webhook (line 20) | func (s server) webhook(w http.ResponseWriter, req *http.Request) { function getFiles (line 69) | func getFiles(commits []*github.HeadCommit) []string { FILE: kubernetes-deploy-github/server_test.go function TestGetFiles (line 10) | func TestGetFiles(t *testing.T) { FILE: kubernetes-deploy/main.go function main (line 21) | func main() { function getClient (line 44) | func getClient() (*kubernetes.Clientset, error) { function deploy (line 59) | func deploy(ctx context.Context, client *kubernetes.Clientset) (map[stri... function waitForPods (line 97) | func waitForPods(ctx context.Context, client *kubernetes.Clientset, depl... FILE: mutex-demo/main.go type mytype (line 10) | type mytype struct function main (line 15) | func main() { FILE: oidc-demo/cmd/appserver/jwt.go function getTokenFromCode (line 18) | func getTokenFromCode(tokenUrl, jwksUrl, redirectUri, clientID, clientSe... function getPublicKeyFromJwks (line 85) | func getPublicKeyFromJwks(jwksUrl string, kid string) (*rsa.PublicKey, e... FILE: oidc-demo/cmd/appserver/jwt_test.go function TestGetTokenFromCode (line 18) | func TestGetTokenFromCode(t *testing.T) { FILE: oidc-demo/cmd/appserver/main.go constant redirectUri (line 12) | redirectUri = "http://localhost:8081/callback" type app (line 14) | type app struct method index (line 33) | func (a *app) index(w http.ResponseWriter, r *http.Request) { method callback (line 57) | func (a *app) callback(w http.ResponseWriter, r *http.Request) { function main (line 18) | func main() { function returnError (line 104) | func returnError(w http.ResponseWriter, err error) { FILE: oidc-demo/cmd/server/main.go constant configFile (line 15) | configFile = "config.yaml" function main (line 17) | func main() { FILE: oidc-demo/pkg/oidc/discovery.go function ParseDiscovery (line 9) | func ParseDiscovery(url string) (Discovery, error) { FILE: oidc-demo/pkg/oidc/rand.go function GetRandomString (line 11) | func GetRandomString(n int) (string, error) { FILE: oidc-demo/pkg/oidc/types.go type Discovery (line 3) | type Discovery struct type Token (line 17) | type Token struct type Jwks (line 26) | type Jwks struct type JwksKey (line 29) | type JwksKey struct FILE: oidc-demo/pkg/server/authorization.go method authorization (line 10) | func (s *server) authorization(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/authorization_test.go function TestAuthorization (line 11) | func TestAuthorization(t *testing.T) { FILE: oidc-demo/pkg/server/config.go function ReadConfig (line 5) | func ReadConfig(bytes []byte) Config { FILE: oidc-demo/pkg/server/discovery.go method discovery (line 10) | func (s *server) discovery(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/http.go type server (line 8) | type server struct function newServer (line 15) | func newServer(privateKey []byte, config Config) *server { function Start (line 24) | func Start(httpServer *http.Server, privateKey []byte, config Config) er... function returnError (line 37) | func returnError(w http.ResponseWriter, err error) { FILE: oidc-demo/pkg/server/http_test.go function TestMain (line 22) | func TestMain(m *testing.M) { function testSetup (line 31) | func testSetup() error { function TestStart (line 57) | func TestStart(t *testing.T) { FILE: oidc-demo/pkg/server/jwks.go method jwks (line 13) | func (s *server) jwks(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/login.go method login (line 18) | func (s *server) login(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/login_test.go function TestLoginGet (line 14) | func TestLoginGet(t *testing.T) { function TestLoginPost (line 55) | func TestLoginPost(t *testing.T) { FILE: oidc-demo/pkg/server/token.go method token (line 13) | func (s *server) token(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/token_test.go function TestToken (line 17) | func TestToken(t *testing.T) { FILE: oidc-demo/pkg/server/types.go type Config (line 9) | type Config struct type AppConfig (line 14) | type AppConfig struct type LoginRequest (line 21) | type LoginRequest struct FILE: oidc-demo/pkg/server/userinfo.go method userinfo (line 13) | func (s *server) userinfo(w http.ResponseWriter, r *http.Request) { FILE: oidc-demo/pkg/server/userinfo_test.go function TestUserInfo (line 17) | func TestUserInfo(t *testing.T) { FILE: oidc-demo/pkg/users/auth.go type User (line 5) | type User struct function Auth (line 15) | func Auth(login, password, mfa string) (bool, User, error) { function GetAllUsers (line 22) | func GetAllUsers() []User { FILE: oidc-start/cmd/appserver/jwt.go function getTokenFromCode (line 6) | func getTokenFromCode(tokenUrl, jwksUrl, redirectUri, clientID, clientSe... FILE: oidc-start/cmd/appserver/jwt_test.go function TestGetTokenFromCode (line 18) | func TestGetTokenFromCode(t *testing.T) { FILE: oidc-start/cmd/appserver/main.go constant redirectUri (line 8) | redirectUri = "http://localhost:8081/callback" type app (line 10) | type app struct method index (line 26) | func (a *app) index(w http.ResponseWriter, r *http.Request) { method callback (line 29) | func (a *app) callback(w http.ResponseWriter, r *http.Request) { function main (line 13) | func main() { FILE: oidc-start/cmd/server/main.go constant configFile (line 15) | configFile = "" function main (line 17) | func main() { FILE: oidc-start/pkg/oidc/discovery.go function ParseDiscovery (line 9) | func ParseDiscovery(url string) (Discovery, error) { FILE: oidc-start/pkg/oidc/rand.go function GetRandomString (line 11) | func GetRandomString(n int) (string, error) { FILE: oidc-start/pkg/oidc/types.go type Discovery (line 4) | type Discovery struct type Token (line 16) | type Token struct type Jwks (line 25) | type Jwks struct type JwksKey (line 28) | type JwksKey struct FILE: oidc-start/pkg/server/authorization.go method authorization (line 7) | func (s *server) authorization(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/authorization_test.go function TestAuthorization (line 11) | func TestAuthorization(t *testing.T) { FILE: oidc-start/pkg/server/config.go function ReadConfig (line 3) | func ReadConfig(bytes []byte) Config { FILE: oidc-start/pkg/server/discovery.go method discovery (line 7) | func (s *server) discovery(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/http.go type server (line 7) | type server struct function newServer (line 12) | func newServer(privateKey []byte, config Config) *server { function Start (line 19) | func Start(httpServer *http.Server, privateKey []byte, config Config) er... FILE: oidc-start/pkg/server/http_test.go function TestMain (line 22) | func TestMain(m *testing.M) { function testSetup (line 31) | func testSetup() error { function TestStart (line 57) | func TestStart(t *testing.T) { FILE: oidc-start/pkg/server/jwks.go method jwks (line 7) | func (s *server) jwks(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/login.go method login (line 11) | func (s *server) login(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/login_test.go function TestLoginGet (line 14) | func TestLoginGet(t *testing.T) { function TestLoginPost (line 56) | func TestLoginPost(t *testing.T) { FILE: oidc-start/pkg/server/token.go method token (line 7) | func (s *server) token(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/token_test.go function TestToken (line 17) | func TestToken(t *testing.T) { FILE: oidc-start/pkg/server/types.go type Config (line 3) | type Config struct type AppConfig (line 8) | type AppConfig struct FILE: oidc-start/pkg/server/userinfo.go method userinfo (line 7) | func (s *server) userinfo(w http.ResponseWriter, r *http.Request) { FILE: oidc-start/pkg/server/userinfo_test.go function TestUserInfo (line 17) | func TestUserInfo(t *testing.T) { FILE: oidc-start/pkg/users/auth.go type User (line 5) | type User struct function Auth (line 15) | func Auth(login, password, mfa string) (bool, User, error) { function GetAllUsers (line 22) | func GetAllUsers() []User { FILE: reader-example/main.go type MySlowReader (line 9) | type MySlowReader struct method Read (line 14) | func (m *MySlowReader) Read(p []byte) (int, error) { function main (line 23) | func main() { FILE: slices-demo/cmd/array-and-slice/main.go function main (line 5) | func main() { FILE: ssh-demo/cmd/client/main.go function main (line 11) | func main() { FILE: ssh-demo/cmd/keygen/main.go function main (line 10) | func main() { FILE: ssh-demo/cmd/server/main.go function main (line 12) | func main() { FILE: ssh-demo/keygen.go function GenerateKeys (line 12) | func GenerateKeys() ([]byte, []byte, error) { FILE: ssh-demo/server.go function StartServer (line 13) | func StartServer(privateKey []byte, authorizedKeys []byte) error { function handleConnection (line 76) | func handleConnection(conn *ssh.ServerConn, chans <-chan ssh.NewChannel) { function createTerminal (line 119) | func createTerminal(conn *ssh.ServerConn, channel ssh.Channel) { function execSomething (line 143) | func execSomething(conn *ssh.ServerConn, payload []byte) string { FILE: test-server/assignment1.go type assignment1 (line 11) | type assignment1 struct method assignment1 (line 19) | func (ct *WordsHandler) assignment1(w http.ResponseWriter, r *http.Reque... FILE: test-server/main.go type WordsOutput (line 19) | type WordsOutput struct type OccurrenceOutput (line 25) | type OccurrenceOutput struct type LoginRequest (line 30) | type LoginRequest struct type LoginResponse (line 33) | type LoginResponse struct type WordsHandler (line 37) | type WordsHandler struct method wordsHandler (line 43) | func (ct *WordsHandler) wordsHandler(w http.ResponseWriter, r *http.Re... method indexHandler (line 62) | func (ct *WordsHandler) indexHandler(w http.ResponseWriter, r *http.Re... method occurrenceHandler (line 72) | func (ct *WordsHandler) occurrenceHandler(w http.ResponseWriter, r *ht... method login (line 93) | func (ct *WordsHandler) login(w http.ResponseWriter, r *http.Request) { method authMiddleware (line 146) | func (ct *WordsHandler) authMiddleware(next http.HandlerFunc) http.Han... method loggingHandler (line 171) | func (wh *WordsHandler) loggingHandler(h http.Handler) http.Handler { function getRandomSecret (line 183) | func getRandomSecret() []byte { function main (line 192) | func main() { FILE: test-server/ratelimit.go constant DATE_FORMAT (line 10) | DATE_FORMAT = "2006-01-02T15:04:05" type RateLimit (line 12) | type RateLimit struct method ratelimit (line 19) | func (rl *RateLimit) ratelimit(w http.ResponseWriter, r *http.Request) { FILE: tls-demo/cmd/letsencrypt-server/main.go function index (line 11) | func index(w http.ResponseWriter, req *http.Request) { function main (line 14) | func main() { FILE: tls-demo/cmd/mtls-client/main.go function main (line 14) | func main() { FILE: tls-demo/cmd/mtls-server/main.go function index (line 12) | func index(w http.ResponseWriter, req *http.Request) { function showCommonName (line 16) | func showCommonName(w http.ResponseWriter, req *http.Request) { function main (line 24) | func main() { FILE: tls-demo/cmd/test-server/main.go function index (line 9) | func index(w http.ResponseWriter, req *http.Request) { function main (line 12) | func main() { FILE: tls-demo/cmd/tls/main.go function main (line 7) | func main() { FILE: tls-demo/pkg/cert/pem.go function PemToX509 (line 9) | func PemToX509(input []byte) (*x509.Certificate, error) { FILE: tls-demo/pkg/cert/types.go type CACert (line 5) | type CACert struct type Cert (line 10) | type Cert struct type CertSubject (line 16) | type CertSubject struct FILE: tls-demo/pkg/cert/x509.go function CreateCACert (line 16) | func CreateCACert(ca *CACert, keyFilePath, caCertFilePath string) error { function CreateCert (line 52) | func CreateCert(cert *Cert, caKey []byte, caCert []byte, keyFilePath, ce... function createCert (line 96) | func createCert(template *x509.Certificate, caKey *rsa.PrivateKey, caCer... function removeEmptyString (line 129) | func removeEmptyString(input []string) []string { FILE: tls-demo/pkg/cmd/ca.go function init (line 13) | func init() { FILE: tls-demo/pkg/cmd/cert.go function init (line 15) | func init() { FILE: tls-demo/pkg/cmd/create.go function init (line 5) | func init() { FILE: tls-demo/pkg/cmd/key.go function init (line 13) | func init() { FILE: tls-demo/pkg/cmd/root.go type Config (line 13) | type Config struct function Execute (line 28) | func Execute() { function init (line 35) | func init() { function initConfig (line 41) | func initConfig() { FILE: tls-demo/pkg/key/rsa.go function CreateRSAPrivateKey (line 12) | func CreateRSAPrivateKey(n int) (*rsa.PrivateKey, error) { function RSAPrivateKeyToPEM (line 19) | func RSAPrivateKeyToPEM(privateKey *rsa.PrivateKey) *pem.Block { function CreateRSAPrivateKeyAndSave (line 26) | func CreateRSAPrivateKeyAndSave(path string, n int) error { function PrivateKeyPemToRSA (line 47) | func PrivateKeyPemToRSA(input []byte) (*rsa.PrivateKey, error) { FILE: tls-start/cmd/test-server/main.go function index (line 9) | func index(w http.ResponseWriter, req *http.Request) { function main (line 12) | func main() { FILE: tls-start/cmd/tls/main.go function main (line 7) | func main() { FILE: tls-start/pkg/cert/pem.go function PemToX509 (line 9) | func PemToX509(input []byte) (*x509.Certificate, error) { FILE: tls-start/pkg/cert/types.go type CACert (line 5) | type CACert struct type Cert (line 10) | type Cert struct type CertSubject (line 16) | type CertSubject struct FILE: tls-start/pkg/cert/x509.go function CreateCACert (line 3) | func CreateCACert(ca *CACert, keyFilePath, caCertFilePath string) error { function CreateCert (line 7) | func CreateCert(cert *Cert, caKey []byte, caCert []byte, keyFilePath, ce... FILE: tls-start/pkg/cmd/root.go function Execute (line 3) | func Execute() { FILE: tls-start/pkg/key/rsa.go function CreateRSAPrivateKey (line 12) | func CreateRSAPrivateKey(n int) (*rsa.PrivateKey, error) { function RSAPrivateKeyToPEM (line 16) | func RSAPrivateKeyToPEM(privateKey *rsa.PrivateKey) *pem.Block { function CreateRSAPrivateKeyAndSave (line 23) | func CreateRSAPrivateKeyAndSave(path string, n int) error { function PrivateKeyPemToRSA (line 41) | func PrivateKeyPemToRSA(input []byte) (*rsa.PrivateKey, error) { FILE: types-demo/cmd/generics/main.go function main (line 8) | func main() { function plusOne (line 18) | func plusOne[V int | float64 | int64 | float32 | int32](t V) V { function sum (line 22) | func sum[V int | float64 | int64 | float32 | int32](t1 V, t2 V) V { FILE: types-demo/cmd/json-parsing/main.go type MyJson (line 10) | type MyJson struct function main (line 15) | func main() { FILE: types-demo/cmd/type-switch/main.go function main (line 8) | func main() { function discoverType (line 17) | func discoverType(t any) {